mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-08-06 06:47:38 +00:00
Add basic nesting dropdown component
Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
.menu-wrapper {
|
||||
position: relative;
|
||||
place-content: center;
|
||||
&:is(.menu-bar > .menu-section > .menu-wrapper){
|
||||
display: inline-block;
|
||||
}
|
||||
}
|
||||
|
||||
.menu-list {
|
||||
z-index : 1000;
|
||||
inset-block-start: anchor(bottom);
|
||||
inset-inline-start: anchor(left);
|
||||
position-try: flip-inline;
|
||||
color: unset; // [popover] gets a `canvastext` color value from useragent.
|
||||
> .menu-wrapper {
|
||||
position:relative;
|
||||
> .menu-list {
|
||||
margin: 0 0px;
|
||||
inset-block-start: anchor(top);
|
||||
inset-inline-start: anchor(right);
|
||||
position-try: flip-inline;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user