web: fix header z-index

This commit is contained in:
Thomas Mathews 2022-11-13 08:19:04 -08:00
parent f5cd0e2e39
commit 06137ab3f2

View file

@ -34,8 +34,9 @@
/* Z Layers */ /* Z Layers */
--zDefault: 0; --zDefault: 0;
--zPFP: 1; --zPFP: 1;
--zHeader: 2;
--zGlobal: 3; --zGlobal: 3;
--zModal: 5; --zModal: 4;
} }
*:focus-visible { *:focus-visible {
/* Technically this is bad and something else should be done to indicate /* Technically this is bad and something else should be done to indicate
@ -179,6 +180,7 @@ button.nav {
#view header { #view header {
position: sticky; position: sticky;
top: 0; top: 0;
z-index: var(--zHeader);
background: var(--clrBg); background: var(--clrBg);
} }
#view header > label { #view header > label {