modifying the page container style to fix the issue where on mobile when using a browser you cant scroll to the bottom because of how vh works
This commit is contained in:
parent
b5c8039192
commit
b9bb31de7d
1 changed files with 13 additions and 2 deletions
|
|
@ -9,9 +9,20 @@ const useStyles = makeStyles((theme: Theme) => ({
|
|||
width: "100%",
|
||||
overflowX: "hidden",
|
||||
overflowY: "auto",
|
||||
height: `calc(100vh - 112px)`,
|
||||
// height: `calc(100vh - 112px)`,
|
||||
// [theme.breakpoints.up("sm")]: {
|
||||
// height: `calc(100vh - 64px)`
|
||||
// }
|
||||
minHeight: `calc(100vh - 112px)`,
|
||||
"@supports (height: 100dvh)": {
|
||||
minHeight: `calc(100dvh - 112px)`
|
||||
},
|
||||
[theme.breakpoints.up("sm")]: {
|
||||
height: `calc(100vh - 64px)`
|
||||
minHeight: `calc(100vh - 64px)`,
|
||||
|
||||
"@supports (height: 100dvh)": {
|
||||
minHeight: `calc(100dvh - 64px)`
|
||||
}
|
||||
}
|
||||
},
|
||||
fullViewportContainer: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue