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 2 years ago
parent a7a2acfc0c
commit 4dd8dae483
Signed by: offbyn
GPG Key ID: 94A2F643C51F37FA

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

Loading…
Cancel
Save