summaryrefslogtreecommitdiff
path: root/src/core/components/elements/Popup/BottomPopup.jsx
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-02-20 11:35:25 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-02-20 11:35:25 +0700
commit525166e62b793b351d1a6be2421c0a33b22f7b7b (patch)
treea2bf86c4698771bc37b88218fc3f8e2e45a55ed7 /src/core/components/elements/Popup/BottomPopup.jsx
parentd22df6bd30b8ed4bcfa938dcbbedc5fc376c2304 (diff)
cart refactor
Diffstat (limited to 'src/core/components/elements/Popup/BottomPopup.jsx')
-rw-r--r--src/core/components/elements/Popup/BottomPopup.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/components/elements/Popup/BottomPopup.jsx b/src/core/components/elements/Popup/BottomPopup.jsx
index e687cf20..5deceadf 100644
--- a/src/core/components/elements/Popup/BottomPopup.jsx
+++ b/src/core/components/elements/Popup/BottomPopup.jsx
@@ -6,7 +6,7 @@ const BottomPopup = ({ children, active, title, close }) => (
onClick={close}
className={`overlay ${active ? 'block' : 'hidden'}`}
/>
- <div className={`fixed bottom-0 left-0 w-full border-t border-gray_r-6 rounded-t-xl z-[60] p-4 pt-0 bg-white ${active ? 'block' : 'hidden'}`}>
+ <div className={`fixed left-0 w-full border-t border-gray_r-6 rounded-t-xl z-[60] p-4 pt-0 bg-white idt-transition ${active ? 'bottom-0' : '-bottom-full'}`}>
<div className="flex justify-between py-4">
<div className="font-semibold text-h-sm">{ title }</div>
<button type="button" onClick={close}>