mirror of
https://github.com/zoriya/v10.git
synced 2026-08-16 02:45:09 +00:00
fix(skin): hide volume popover when volume control is unsupported (#1025)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user