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