From eda5adfd79fe9c9d2656b0fcba09409a0945e388 Mon Sep 17 00:00:00 2001 From: Chris Heinz Date: Sat, 13 Jul 2024 16:50:31 +0200 Subject: [PATCH] replace vh with dvh --- src/app/(main)/layout.module.css | 1 + src/app/share/[...shareId]/SharePage.module.css | 1 + src/components/layout/Page.module.css | 1 + 3 files changed, 3 insertions(+) diff --git a/src/app/(main)/layout.module.css b/src/app/(main)/layout.module.css index 58c1cacf..290c38a2 100644 --- a/src/app/(main)/layout.module.css +++ b/src/app/(main)/layout.module.css @@ -17,5 +17,6 @@ grid-row: 2 / 3; min-height: 0; height: calc(100vh - 60px); + height: calc(100dvh - 60px); overflow-y: auto; } diff --git a/src/app/share/[...shareId]/SharePage.module.css b/src/app/share/[...shareId]/SharePage.module.css index d985435c..f6c68cf6 100644 --- a/src/app/share/[...shareId]/SharePage.module.css +++ b/src/app/share/[...shareId]/SharePage.module.css @@ -1,4 +1,5 @@ .container { flex: 1; min-height: calc(100vh - 200px); + min-height: calc(100dvh - 200px); } diff --git a/src/components/layout/Page.module.css b/src/components/layout/Page.module.css index 52893157..3b9a4581 100644 --- a/src/components/layout/Page.module.css +++ b/src/components/layout/Page.module.css @@ -8,4 +8,5 @@ margin: 0 auto; padding: 0 20px; min-height: calc(100vh - 60px); + min-height: calc(100dvh - 60px); }