From 4dd8dae4834d2c9e02edc83f40cf5a3e484055b4 Mon Sep 17 00:00:00 2001 From: OFF0 Date: Wed, 7 Dec 2022 08:18:49 +0100 Subject: [PATCH] layout: fix nav positioning on ios Safari does not take the addressbar into account when using 100vh, this is the cauase that the navigation is sometimes hidden when the user scrolls up/down. changed to 100dvh with fallback to 100vh. --- src/tabs.css | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tabs.css b/src/tabs.css index 7591b5b..da7bbec 100644 --- a/src/tabs.css +++ b/src/tabs.css @@ -62,6 +62,7 @@ input[type="radio"]:checked + label { } .tabs { height: 100vh; + height: 100dvh; margin-top: 0; order: 1; overflow: scroll;