Update Z-Indices

This commit is contained in:
Talia 2024-12-19 14:53:01 +01:00 committed by GitHub
parent 24f6741c0c
commit 2377d395c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -42,7 +42,6 @@ export class BetterSelect extends HTMLElement {
static styleSheet = css`
:host {
position: relative;
z-index: 100;
display: inline-block;
}
* {
@ -78,6 +77,7 @@ export class BetterSelect extends HTMLElement {
position: absolute;
flex-flow: column;
margin: 0;
z-index: var(--layer-dropdown, 100);
}
[part="drop-down"]:modal {
margin: auto;