fix(skin): hide volume popover when volume control is unsupported (#1025)

This commit is contained in:
rahim
2026-03-19 01:14:57 -07:00
committed by GitHub
parent c07da27ead
commit c09dbdd121
11 changed files with 277 additions and 200 deletions
@@ -82,6 +82,10 @@
.media-default-skin .media-popover--volume {
padding: 0.625rem 0.25rem;
border-radius: calc(infinity * 1px);
&:has(media-volume-slider[data-availability="unsupported"]) {
display: none;
}
}
.media-default-skin .media-tooltip {
@@ -107,3 +107,7 @@
background-color: oklch(0 0 0 / 0.9);
}
}
.media-minimal-skin .media-popover--volume:has(media-volume-slider[data-availability="unsupported"]) {
display: none;
}