0
0
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:
Gazook89
2026-04-23 10:21:52 -05:00
parent b5cd7b7a40
commit 2232d5265f
2 changed files with 102 additions and 0 deletions
+24
View File
@@ -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;
}
}
}