Fix persistent bottom nav by moving tabs outside sticky header

This commit is contained in:
Nate committed 2026-03-16 14:38:36 -04:00
1 parent cd45f0bf5e
commit 1786bc8985
2 files changed
+34 -22

No files matched your search

+11
View File
@@ -105,6 +105,8 @@ a:hover { text-decoration: underline; }
left: 0;
right: 0;
bottom: 0;
width: 100vw;
max-width: 100vw;
z-index: 300;
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));
@@ -115,6 +117,13 @@ a:hover { text-decoration: underline; }
border-top: 1px solid rgba(121, 165, 191, 0.36);
}
@supports (bottom: env(safe-area-inset-bottom)) {
.tabs {
bottom: 0;
padding-bottom: calc(0.45rem + env(safe-area-inset-bottom));
}
}
.tab {
border: none;
border-radius: 12px;
@@ -791,6 +800,8 @@ body.high-contrast {
left: 0;
right: 0;
bottom: 0;
width: 100vw;
max-width: 100vw;
z-index: 300;
display: grid;
grid-template-columns: repeat(5, minmax(0, 1fr));