diff options
Diffstat (limited to 'core/css/header.scss')
-rw-r--r-- | core/css/header.scss | 19 |
1 files changed, 16 insertions, 3 deletions
diff --git a/core/css/header.scss b/core/css/header.scss index 722a743df6a..d6bb8a363e1 100644 --- a/core/css/header.scss +++ b/core/css/header.scss @@ -85,10 +85,8 @@ max-height: calc(100vh - #{variables.$header-height} - 8px); } +/* Header menu */ #header { - /* Header menu */ - $header-menu-entry-height: 44px; - .header-end > div > .menu { background-color: var(--color-main-background); filter: drop-shadow(0 1px 5px var(--color-box-shadow)); @@ -269,3 +267,18 @@ header .emptycontent { width: 48px; } } + +@media (display-mode: standalone) or (display-mode: minimal-ui) { + #header { + display: none !important; + } + + #content, #content-vue { + margin-top: var(--body-container-margin); + } + + :root { + // Override the body height to make up for the additional height due to the missing header. + --body-height: calc(100% - env(safe-area-inset-bottom) - var(--body-container-margin) * 2) !important; + } +} |