From 229ddb3701db56497e34ab6bf166c5d96ac7af80 Mon Sep 17 00:00:00 2001 From: wukko Date: Sun, 12 May 2024 19:53:12 +0600 Subject: [PATCH] web/cobalt.css: fix page height in web app on ipad --- src/front/cobalt.css | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/front/cobalt.css b/src/front/cobalt.css index 5e3c0659..47df2845 100644 --- a/src/front/cobalt.css +++ b/src/front/cobalt.css @@ -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)),