From b0f753a3a3d2c579f0426f22cade34ccfc2a387a Mon Sep 17 00:00:00 2001 From: Henriette Darge Date: Wed, 2 Oct 2024 09:20:58 +0200 Subject: [PATCH] Use the dynamic view height for the height calculation to aboid an additional scrollbar when on mobile devices the adress bar is shown. The adress bar is part of the 100vh but not of 100dvh. --- frontend/src/global_styles/layout/_base.sass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/global_styles/layout/_base.sass b/frontend/src/global_styles/layout/_base.sass index 08da9c9412eb..c6465b61d7b9 100644 --- a/frontend/src/global_styles/layout/_base.sass +++ b/frontend/src/global_styles/layout/_base.sass @@ -49,7 +49,7 @@ margin: 0 0 0 0 padding: 0 // Needed for Safari - height: calc(100vh - var(--header-height)) + height: calc(100dvh - var(--header-height)) overflow-y: auto overflow-x: hidden background-color: var(--body-background)