web: fix header z-index
This commit is contained in:
parent
f5cd0e2e39
commit
06137ab3f2
1 changed files with 3 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue