fix(ux): enforce safe responsive containment on mobile CartDrawer [FE-012]
This commit is contained in:
1 parent
0529962391
commit
4ce9f6000c
1 file changed
+1
-1
@@ -101,7 +101,7 @@ export default function CartDrawer({ isOpen, onClose, onCheckout, onShopNavigate
|
||||
animate={{ x: 0 }}
|
||||
exit={{ x: "100%" }}
|
||||
transition={{ type: "spring", damping: 25, stiffness: 200 }}
|
||||
className="fixed inset-y-0 right-0 w-full max-w-md bg-white shadow-2xl z-[101] flex flex-col"
|
||||
className="fixed inset-y-0 right-0 w-full max-w-full sm:max-w-md bg-white shadow-2xl z-[101] flex flex-col overflow-x-hidden"
|
||||
dir="rtl"
|
||||
>
|
||||
{/* Header */}
|
||||
|
||||
Reference in new issue
Block a user