web/cobalt.css: fix page height in web app on ipad
This commit is contained in:
parent
0609441b1f
commit
229ddb3701
1 changed files with 1 additions and 4 deletions
|
@ -47,6 +47,7 @@
|
|||
}
|
||||
html,
|
||||
body {
|
||||
height: calc(100% + env(safe-area-inset-top) / 2);
|
||||
margin: 0;
|
||||
background: var(--background);
|
||||
background-color: var(--background);
|
||||
|
@ -1195,10 +1196,6 @@ button:active,
|
|||
}
|
||||
}
|
||||
@media screen and (max-width: 535px) and (display-mode: standalone) {
|
||||
html,
|
||||
body {
|
||||
height: calc(100% + env(safe-area-inset-top) / 2);
|
||||
}
|
||||
.popup-header {
|
||||
padding-top: max(
|
||||
calc(env(safe-area-inset-top)),
|
||||
|
|
Loading…
Reference in a new issue