ontop as separate utility

This commit is contained in:
madrilene 2024-03-14 11:45:39 +01:00
parent 4d88e2cf46
commit 8eb9a88321
2 changed files with 6 additions and 6 deletions

View file

@ -1,9 +1,3 @@
/* set on parent div to get the right z-index context */
.ontop {
z-index: 1;
position: relative;
}
.site-nav-drawer {
position: var(--nav-position, absolute);
inset-inline-end: 0.1rem;
@ -11,6 +5,7 @@
/* Remove default list styling and create layout for list */
.site-nav-drawer ul {
z-index: 1;
--cluster-vertical-alignment: normal;
--gutter: var(--space-xs);
list-style: none;

View file

@ -0,0 +1,5 @@
/* set on parent div to get the right z-index context */
.ontop {
z-index: 1;
position: relative;
}