Skip to content

Commit

Permalink
Merge pull request #118 from BacPacNet/refactor-1.0
Browse files Browse the repository at this point in the history
fix: model Wrapper css
  • Loading branch information
bacpactech authored Dec 10, 2024
2 parents f2c4fef + d54088d commit 0b84c0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/molecules/Modal/ModalWrapper.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ const ModalWrapper = ({ children, setModal, isShown, smallHeight = false, taking
} ${smallHeight ? 'h-[99%]' : 'h-screen'} top-0 flex justify-center items-center z-50`}
>
<div onClick={() => setModal(false)} className="bg-black opacity-70 w-full h-screen fixed -z-10"></div>
<div className="bg-white w-[450px] max-sm:w-11/12 max-md:w-2/3 min-w-[370px] max-h-[32rem] overflow-y-auto rounded-2xl shadow-lg px-8 pb-4">
<div className="flex justify-end">
<div className="relative bg-white w-[450px] max-sm:w-11/12 max-md:w-2/3 min-w-[370px] max-h-[32rem] overflow-y-auto rounded-2xl shadow-lg px-8 py-4">
<div className="absolute right-0 top-0">
<button onClick={() => setModal(false)} className="p-2">
<IoClose size={24} />
</button>
Expand Down

0 comments on commit 0b84c0a

Please sign in to comment.