Skip to content

Commit

Permalink
fix(control-bar): align center
Browse files Browse the repository at this point in the history
  • Loading branch information
KangXinzhi committed Nov 3, 2022
1 parent e49286a commit e2faeca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
7 changes: 5 additions & 2 deletions src/css/components/_progress.scss
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@
font-size: 1.666666666666666666em;
}

.video-js .vjs-progress-control:hover .vjs-play-progress:before{
top: -0.333333333333333em;
}

.video-js .vjs-progress-control:hover .vjs-progress-holder.disabled {
font-size: 1em;
}
Expand Down Expand Up @@ -79,8 +83,7 @@
font-size: 0.9em;
position: absolute;
right: -0.5em;
top: -0.333333333333333em;
z-index: 1;
top: -0.45em;
}
}

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 @@ -157,7 +157,7 @@

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

0 comments on commit e2faeca

Please sign in to comment.