Skip to content

Commit

Permalink
we resize the popup component
Browse files Browse the repository at this point in the history
  • Loading branch information
pivilartisant committed Jun 5, 2023
1 parent 1ae016a commit 67e3b0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/PopupModal/PopupModal.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const _NoFooter = {

export const _FullMode = {
render: () => (
<div className="h-[450px]">
<div className="w-[750px]">
<PopupModal fullMode={true}>
<PopupModalHeader>
<label className="text-f-primary">The title</label>
Expand Down
2 changes: 1 addition & 1 deletion src/components/PopupModal/PopupModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export function PopupModal(props: IPopupModalProps) {
overflow-x-hidden overflow-y-auto`}
{...rest}
>
<div className="relative w-full max-h-full">
<div className="relative max-h-full w-1/2">
<div className="relative bg-primary rounded-lg shadow">
{appendedChildren}
</div>
Expand Down

0 comments on commit 67e3b0e

Please sign in to comment.