Skip to content

Commit 8a87719

Browse files
committed
šŸ› fix navbar being hidden behind sticky/fixed elements
1 parent fdfd78f commit 8a87719

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ā€Žfrontend/styles/header.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $c: map.get($container-max-widths, 'xxl');
44

55
#header {
66
position: relative;
7-
z-index: 50;
7+
z-index: 1031; // over .fixed-* and .sticky-*, but below modals etc.
88
}
99

1010
#header nav {
@@ -18,7 +18,7 @@ $c: map.get($container-max-widths, 'xxl');
1818
list-style: none;
1919
padding: 0;
2020
margin: 0;
21-
z-index: 100;
21+
z-index: 1031;
2222
}
2323

2424
ul.nav-ul {

0 commit comments

Comments
Ā (0)