Skip to content

Commit

Permalink
fix: global banner's dropdown goes above toolbar (z-axis)
Browse files Browse the repository at this point in the history
  • Loading branch information
yfanti committed Mar 19, 2024
1 parent ce84591 commit 8ed4246
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/css/header.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
.globan {
z-index: 1 !important;
z-index: var(--z-index-globan) !important;
}

.header {
z-index: 2;
z-index: var(--z-index-header);
}

html.is-clipped--navbar {
Expand Down
2 changes: 2 additions & 0 deletions src/css/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -334,4 +334,6 @@
--z-index-toolbar: 2;
--z-index-page-version-menu: 3;
--z-index-navbar: 4;
--z-index-header: 4;
--z-index-globan: 3;
}

0 comments on commit 8ed4246

Please sign in to comment.