web/cobalt.css: fix page height in web app on ipad

This commit is contained in:
wukko 2024-05-12 19:53:12 +06:00
parent 0609441b1f
commit 229ddb3701
No known key found for this signature in database
GPG key ID: 3E30B3F26C7B4AA2

View file

@ -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)),