BottomSheet: fix visual problem on iOS
All checks were successful
/ depoly (push) Successful in 1m1s
All checks were successful
/ depoly (push) Successful in 1m1s
This commit is contained in:
parent
95fe954c5e
commit
2de1960fb5
2 changed files with 3 additions and 2 deletions
|
@ -22,11 +22,12 @@
|
||||||
@media (max-width: 560px) {
|
@media (max-width: 560px) {
|
||||||
& {
|
& {
|
||||||
left: 0;
|
left: 0;
|
||||||
top: var(--safe-area-inset-top, 0);
|
top: 0;
|
||||||
transform: none;
|
transform: none;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
height: 100dvh;
|
height: 100dvh;
|
||||||
|
max-height: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -49,7 +49,7 @@ const Settings: ParentComponent = () => {
|
||||||
<Scaffold
|
<Scaffold
|
||||||
topbar={
|
topbar={
|
||||||
<AppBar position="static">
|
<AppBar position="static">
|
||||||
<Toolbar variant="dense">
|
<Toolbar variant="dense" sx={{paddingTop: "var(--safe-area-inset-top, 0px)"}}>
|
||||||
<IconButton onClick={[navigate, -1]}>
|
<IconButton onClick={[navigate, -1]}>
|
||||||
<CloseIcon />
|
<CloseIcon />
|
||||||
</IconButton>
|
</IconButton>
|
||||||
|
|
Loading…
Reference in a new issue