use height, not minHeight, as that stopped the ability to scroll at all
This commit is contained in:
parent
b9bb31de7d
commit
d009cf8383
1 changed files with 5 additions and 4 deletions
|
|
@ -13,15 +13,16 @@ const useStyles = makeStyles((theme: Theme) => ({
|
||||||
// [theme.breakpoints.up("sm")]: {
|
// [theme.breakpoints.up("sm")]: {
|
||||||
// height: `calc(100vh - 64px)`
|
// height: `calc(100vh - 64px)`
|
||||||
// }
|
// }
|
||||||
minHeight: `calc(100vh - 112px)`,
|
minHeight: 0,
|
||||||
|
height: `calc(100vh - 112px)`,
|
||||||
"@supports (height: 100dvh)": {
|
"@supports (height: 100dvh)": {
|
||||||
minHeight: `calc(100dvh - 112px)`
|
height: `calc(100dvh - 112px)`
|
||||||
},
|
},
|
||||||
[theme.breakpoints.up("sm")]: {
|
[theme.breakpoints.up("sm")]: {
|
||||||
minHeight: `calc(100vh - 64px)`,
|
height: `calc(100vh - 64px)`,
|
||||||
|
|
||||||
"@supports (height: 100dvh)": {
|
"@supports (height: 100dvh)": {
|
||||||
minHeight: `calc(100dvh - 64px)`
|
height: `calc(100dvh - 64px)`
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue