fix z-index?
This commit is contained in:
parent
d683b051b6
commit
78b9857f57
1 changed files with 4 additions and 2 deletions
|
@ -50,8 +50,10 @@
|
||||||
container-type: scroll-state;
|
container-type: scroll-state;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
isolation: isolate;
|
||||||
|
|
||||||
z-index: calc(var(--sibling-count) - var(--sibling-index));
|
order: calc(var(--sibling-count) - var(--sibling-index));
|
||||||
|
z-index: var(--sibling-index);
|
||||||
|
|
||||||
&:has(> :hover, > :focus-within) {
|
&:has(> :hover, > :focus-within) {
|
||||||
z-index: calc(var(--sibling-count) + 1);
|
z-index: calc(var(--sibling-count) + 1);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue