0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-08-06 08:57:38 +00:00
Files
homebrewery/client/components/dropdown/dropdown.less
T
Gazook89 2232d5265f Add basic nesting dropdown component
Co-authored-by: Copilot <copilot@github.com>
2026-04-23 10:21:52 -05:00

24 lines
544 B
Plaintext

.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;
}
}
}