From 973acad17a7b282fd347c78bd77523d1efcc5b0d Mon Sep 17 00:00:00 2001 From: Francesco Baldino Date: Mon, 9 Oct 2023 15:36:32 +0200 Subject: [PATCH] small fix on dynamic viewport height --- src/styles/main.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/styles/main.scss b/src/styles/main.scss index 303eb41..6044b91 100644 --- a/src/styles/main.scss +++ b/src/styles/main.scss @@ -530,9 +530,9 @@ body { } .content { - height: calc(100vh - 4rem); + height: calc(100dvh - 4rem); @media screen and (max-width: $device-s-width), (pointer: coarse) { - height: calc(100vh - 8rem); + height: calc(100dvh - 8rem); } overflow-y: scroll;