emhance buttom sheet hight

This commit is contained in:
2025-11-02 20:27:41 +03:00
parent b2c00ee27e
commit c197fcb355
2 changed files with 4 additions and 4 deletions

View File

@@ -78,14 +78,14 @@ export function MapBottomSheet({
title={t("cart.selectLocation")}
showCloseButton={true}
initialSnap={1}
height={"100vh"}
snapPoints={["100vh"]}
height={"950px"}
snapPoints={["950px"]}
>
<div
style={{
display: "flex",
flexDirection: "column",
height: "100%",
height: "630px",
padding: 0, // Override ProBottomSheet padding
margin: 0, // Remove any margins
}}

View File

@@ -188,7 +188,7 @@ export function ProBottomSheet({
: "transform 0.3s cubic-bezier(0.2, 0, 0, 1), height 0.3s ease",
display: "flex",
flexDirection: "column",
maxHeight: "95vh",
maxHeight: height,
border: `1px solid ${themeName === "dark" ? "#363636" : "#e5e7eb"}`,
borderBottom: "none",
backdropFilter: themeName === "dark" ? "blur(12px)" : "none",