0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-08-06 11:07:37 +00:00
Files
homebrewery/client/components/dropdown/dropdown.less
T
Gazook89 1fe19578c2 change anchor method
This updates the position try results by using a different method of setting the area of the anchored element.  Rather than using the inset properties with `anchor()`, it uses `position-area`.
2026-06-10 16:28:34 -05:00

22 lines
508 B
Plaintext

.menu-wrapper {
position: relative;
&:is(.menu-bar > .menu-section > .menu-wrapper){
display: inline-block;
}
}
.menu-list {
position : absolute;
z-index : 1000;
position-area : block-end span-inline-end;
position-try: flip-inline flip-block;
color: inherit; // [popover] gets a `canvastext` color value from useragent.
> .menu-wrapper {
position:relative;
> .menu-list {
margin: 0 0px;
position-area: inline-end span-block-end;
position-try: flip-inline;
}
}
}