Skip to content

Commit

Permalink
fix(control-bar): make vertical alignment of slider handles more cons…
Browse files Browse the repository at this point in the history
…istent (#7990)

Fixes #7989

BREAKING CHANGE: This changes how slider handles are styled, so custom skins that are targeting them may need to change.
  • Loading branch information
KangXinzhi authored and misteroneill committed Nov 23, 2022
1 parent dec7075 commit b7080f7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/css/components/_progress.scss
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
font-size: 0.9em;
position: absolute;
right: -0.5em;
top: -0.333333333333333em;
line-height: .35em;
z-index: 1;
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/css/components/_volume.scss
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@

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

0 comments on commit b7080f7

Please sign in to comment.