ontop as separate utility
This commit is contained in:
parent
4d88e2cf46
commit
8eb9a88321
2 changed files with 6 additions and 6 deletions
|
|
@ -1,9 +1,3 @@
|
||||||
/* set on parent div to get the right z-index context */
|
|
||||||
.ontop {
|
|
||||||
z-index: 1;
|
|
||||||
position: relative;
|
|
||||||
}
|
|
||||||
|
|
||||||
.site-nav-drawer {
|
.site-nav-drawer {
|
||||||
position: var(--nav-position, absolute);
|
position: var(--nav-position, absolute);
|
||||||
inset-inline-end: 0.1rem;
|
inset-inline-end: 0.1rem;
|
||||||
|
|
@ -11,6 +5,7 @@
|
||||||
|
|
||||||
/* Remove default list styling and create layout for list */
|
/* Remove default list styling and create layout for list */
|
||||||
.site-nav-drawer ul {
|
.site-nav-drawer ul {
|
||||||
|
z-index: 1;
|
||||||
--cluster-vertical-alignment: normal;
|
--cluster-vertical-alignment: normal;
|
||||||
--gutter: var(--space-xs);
|
--gutter: var(--space-xs);
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
|
|
||||||
5
src/assets/css/utilities/ontop.css
Normal file
5
src/assets/css/utilities/ontop.css
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
/* set on parent div to get the right z-index context */
|
||||||
|
.ontop {
|
||||||
|
z-index: 1;
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue