mirror of
https://github.com/videojs/video.js.git
synced 2025-01-08 07:00:10 +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
|
||||
// empty space to the right of the mute button.
|
||||
.vjs-volume-panel.vjs-volume-panel-horizontal:hover,
|
||||
.vjs-volume-panel.vjs-volume-panel-horizontal:active,
|
||||
.vjs-volume-panel.vjs-volume-panel-horizontal.vjs-slider-active {
|
||||
width: auto;
|
||||
width: initial;
|
||||
.vjs-volume-panel.vjs-volume-panel-horizontal {
|
||||
&:hover,
|
||||
&:active,
|
||||
&.vjs-slider-active,
|
||||
&.vjs-hover {
|
||||
width: auto;
|
||||
width: initial;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user