emhance buttom sheet hight
This commit is contained in:
@@ -78,14 +78,14 @@ export function MapBottomSheet({
|
|||||||
title={t("cart.selectLocation")}
|
title={t("cart.selectLocation")}
|
||||||
showCloseButton={true}
|
showCloseButton={true}
|
||||||
initialSnap={1}
|
initialSnap={1}
|
||||||
height={"100vh"}
|
height={"950px"}
|
||||||
snapPoints={["100vh"]}
|
snapPoints={["950px"]}
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
display: "flex",
|
display: "flex",
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
height: "100%",
|
height: "630px",
|
||||||
padding: 0, // Override ProBottomSheet padding
|
padding: 0, // Override ProBottomSheet padding
|
||||||
margin: 0, // Remove any margins
|
margin: 0, // Remove any margins
|
||||||
}}
|
}}
|
||||||
|
|||||||
@@ -188,7 +188,7 @@ export function ProBottomSheet({
|
|||||||
: "transform 0.3s cubic-bezier(0.2, 0, 0, 1), height 0.3s ease",
|
: "transform 0.3s cubic-bezier(0.2, 0, 0, 1), height 0.3s ease",
|
||||||
display: "flex",
|
display: "flex",
|
||||||
flexDirection: "column",
|
flexDirection: "column",
|
||||||
maxHeight: "95vh",
|
maxHeight: height,
|
||||||
border: `1px solid ${themeName === "dark" ? "#363636" : "#e5e7eb"}`,
|
border: `1px solid ${themeName === "dark" ? "#363636" : "#e5e7eb"}`,
|
||||||
borderBottom: "none",
|
borderBottom: "none",
|
||||||
backdropFilter: themeName === "dark" ? "blur(12px)" : "none",
|
backdropFilter: themeName === "dark" ? "blur(12px)" : "none",
|
||||||
|
|||||||
Reference in New Issue
Block a user