1
0
mirror of https://github.com/videojs/video.js.git synced 2025-01-02 06:32:07 +02:00

fix(control-bar): make vertical alignment of slider handles more consistent (#7990)

Fixes #7989

BREAKING CHANGE: This changes how slider handles are styled, so custom skins that are targeting them may need to change.
This commit is contained in:
KangXinzhi 2022-11-08 22:18:10 +08:00 committed by Pat O'Neill
parent dec7075386
commit b7080f7d8a
2 changed files with 3 additions and 3 deletions

View File

@ -75,7 +75,7 @@
font-size: 0.9em;
position: absolute;
right: -0.5em;
top: -0.333333333333333em;
line-height: .35em;
z-index: 1;
}
}

View File

@ -139,7 +139,7 @@
// Volume handle
&:before {
top: -0.3em;
line-height: .35em;
right: -0.5em;
}
}
@ -239,4 +239,4 @@
.vjs-mouse-display .vjs-volume-tooltip {
color: #fff;
@include background-color-with-alpha(#000, 0.8);
}
}