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 (videojs#7990)

Fixes videojs#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 edirub committed Jun 8, 2023
1 parent 92ec40d commit c4dffd1
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 c4dffd1

Please sign in to comment.