Skip to content

Commit

Permalink
fix: remove z-indexes, leave up to consumer
Browse files Browse the repository at this point in the history
  • Loading branch information
luwes committed Dec 5, 2024
1 parent 8a9d560 commit 2cca05e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/js/media-chrome-range.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ template.innerHTML = /*html*/ `
cursor: pointer;
pointer-events: auto;
touch-action: none; ${/* Prevent scrolling when dragging on mobile. */ ''}
z-index: 1; ${/* Apply z-index to overlap buttons below. */ ''}
}
${/* Reset before `outline` on track could be set by a CSS var */ ''}
Expand Down
4 changes: 0 additions & 4 deletions src/js/media-container.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,6 @@ template.innerHTML = /*html*/ `
display: none;
}
slot[name=dialog]::slotted(*) {
z-index: 2;
}
::slotted([role=dialog]) {
width: 100%;
height: 100%;
Expand Down

0 comments on commit 2cca05e

Please sign in to comment.