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.
OFF0 2022-12-07 08:18:49 +01:00
parent a7a2acfc0c
commit 4dd8dae483
Signed by: offbyn
GPG Key ID: 94A2F643C51F37FA
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ input[type="radio"]:checked + label {
}
.tabs {
height: 100vh;
height: 100dvh;
margin-top: 0;
order: 1;
overflow: scroll;