mirror of
https://github.com/videojs/video.js.git
synced 2025-01-23 11:04:59 +02:00
fix: volume button empty space (#7466)
When responsive mode is used and the player layout is small or smaller, an empty space appears to the right of the mute button on hover. Fixes #7465
This commit is contained in:
parent
fdb87d8b72
commit
78cf834e6f
@ -39,11 +39,14 @@
|
|||||||
|
|
||||||
// Reset the size of the volume panel to the default so we don't see a big
|
// Reset the size of the volume panel to the default so we don't see a big
|
||||||
// empty space to the right of the mute button.
|
// empty space to the right of the mute button.
|
||||||
.vjs-volume-panel.vjs-volume-panel-horizontal:hover,
|
.vjs-volume-panel.vjs-volume-panel-horizontal {
|
||||||
.vjs-volume-panel.vjs-volume-panel-horizontal:active,
|
&:hover,
|
||||||
.vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active {
|
&:active,
|
||||||
width: auto;
|
&.vjs-slider-active,
|
||||||
width: initial;
|
&.vjs-hover {
|
||||||
|
width: auto;
|
||||||
|
width: initial;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user