mirror of
https://github.com/wukko/cobalt.git
synced 2025-01-12 11:52:12 +01:00
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,
|
html,
|
||||||
body {
|
body {
|
||||||
|
height: calc(100% + env(safe-area-inset-top) / 2);
|
||||||
margin: 0;
|
margin: 0;
|
||||||
background: var(--background);
|
background: var(--background);
|
||||||
background-color: var(--background);
|
background-color: var(--background);
|
||||||
|
@ -1195,10 +1196,6 @@ button:active,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@media screen and (max-width: 535px) and (display-mode: standalone) {
|
@media screen and (max-width: 535px) and (display-mode: standalone) {
|
||||||
html,
|
|
||||||
body {
|
|
||||||
height: calc(100% + env(safe-area-inset-top) / 2);
|
|
||||||
}
|
|
||||||
.popup-header {
|
.popup-header {
|
||||||
padding-top: max(
|
padding-top: max(
|
||||||
calc(env(safe-area-inset-top)),
|
calc(env(safe-area-inset-top)),
|
||||||
|
|
Loading…
Reference in a new issue