emhance buttom sheet hight
This commit is contained in:
@@ -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
|
||||
}}
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user