mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-08-06 08:57:38 +00:00
1fe19578c2
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`.
22 lines
508 B
Plaintext
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;
|
|
}
|
|
}
|
|
} |