use height, not minHeight, as that stopped the ability to scroll at all

This commit is contained in:
csawatzky 2026-02-03 13:16:56 -06:00
parent b9bb31de7d
commit d009cf8383

View file

@ -13,15 +13,16 @@ const useStyles = makeStyles((theme: Theme) => ({
// [theme.breakpoints.up("sm")]: {
// height: `calc(100vh - 64px)`
// }
minHeight: `calc(100vh - 112px)`,
minHeight: 0,
height: `calc(100vh - 112px)`,
"@supports (height: 100dvh)": {
minHeight: `calc(100dvh - 112px)`
height: `calc(100dvh - 112px)`
},
[theme.breakpoints.up("sm")]: {
minHeight: `calc(100vh - 64px)`,
height: `calc(100vh - 64px)`,
"@supports (height: 100dvh)": {
minHeight: `calc(100dvh - 64px)`
height: `calc(100dvh - 64px)`
}
}
},