fix: wide screen content overflow

master
gman 2 years ago
parent a00425a2ef
commit 63a34fd90c

@ -404,7 +404,7 @@ export function KartaPage() {
top: "1rem", top: "1rem",
left: "1rem", left: "1rem",
width: "36rem", width: "36rem",
height: "83vh", height: "80%",
opacity: "95%", opacity: "95%",
padding: "1rem 0 1rem 1rem", padding: "1rem 0 1rem 1rem",
}} }}
@ -426,9 +426,20 @@ export function KartaPage() {
onChange={setSearch} onChange={setSearch}
data={[]} data={[]}
/> />
<ScrollArea h={"67vh"} type="auto"> <ScrollArea
h={"80%"}
type="auto"
sx={{
"@media (max-height: 700px)": {
height: "60%",
},
"@media (max-height: 400px)": {
height: "50%",
},
}}
>
<Flex <Flex
mih={50} mih="40rem"
gap="md" gap="md"
justify="flex-start" justify="flex-start"
align="start" align="start"

Loading…
Cancel
Save