diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-06 16:25:51 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-06 16:25:51 +0700 |
| commit | fca30ebbb935b38fc1244b43f4d40184ce0745bd (patch) | |
| tree | 8ca6996dc261f9684573a97de35e1ce039d83d64 /src/components | |
| parent | e561175d7167da3f6ac25200ad3cce63ea38e20b (diff) | |
no message
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/elements/BottomPopup.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/elements/BottomPopup.js b/src/components/elements/BottomPopup.js index deb1b895..c1a56e10 100644 --- a/src/components/elements/BottomPopup.js +++ b/src/components/elements/BottomPopup.js @@ -9,7 +9,7 @@ const BottomPopup = ({ return ( <> <div className={"menu-overlay " + (active ? 'block' : 'hidden')} onClick={closePopup} /> - <div className={`fixed w-full z-[60] py-6 px-4 bg-white rounded-t-3xl idt-transition ${active ? 'bottom-0' : 'bottom-[-100%]'}`}> + <div className={`fixed w-full z-[60] py-6 px-4 bg-white rounded-t-3xl idt-transition bottom-0 ${active ? 'block' : 'hidden'}`}> <div className="flex justify-between items-center mb-5"> <h2 className="text-xl font-semibold">{ title }</h2> <button onClick={closePopup}> |
