diff options
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}> |
