From 2377d395c3bad71a029ca513e9fbc31c4e0a833b Mon Sep 17 00:00:00 2001 From: Wii Date: Thu, 19 Dec 2024 14:53:01 +0100 Subject: [PATCH] Update Z-Indices --- src/BetterSelect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/BetterSelect.js b/src/BetterSelect.js index 2d36704..7ea9160 100644 --- a/src/BetterSelect.js +++ b/src/BetterSelect.js @@ -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;