mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-08-06 08:57:38 +00:00
b791bcefdb
revert commit 1fe19578c2 which changed `anchor()` values to `position-area`.
I'm not sure what compelled me to do that change initially, except the easier to understand syntax. Hopefully it wasn't important.
But oddbird polyfill expects `anchor()` values, which it converts to pixel values for positioning.
24 lines
534 B
Plaintext
24 lines
534 B
Plaintext
.menu-wrapper {
|
|
position: relative;
|
|
&:is(.menu-bar > .menu-section > .menu-wrapper){
|
|
display: inline-block;
|
|
}
|
|
}
|
|
|
|
.menu-list {
|
|
position : fixed;
|
|
z-index : 1000;
|
|
top : anchor(bottom);
|
|
left : anchor(left);
|
|
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;
|
|
top : anchor(top);
|
|
left : anchor(right);
|
|
position-try: flip-inline;
|
|
}
|
|
}
|
|
} |