Duration: center text; fix uneven space for "/" time divider

This commit is contained in:
infinite-persistence 2021-12-08 11:32:13 +08:00
parent 627b01c664
commit d08af5c63c
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -412,10 +412,26 @@ $control-bar-icon-size: 0.7rem;
display: none;
}
.vjs-current-time,
.vjs-time-divider,
.vjs-time-control {
line-height: $control-bar-height;
font-size: $control-bar-font-size;
}
.vjs-current-time {
display: flex;
margin-right: 0.4rem;
}
.vjs-time-divider {
display: flex;
min-width: unset;
padding: 0;
z-index: 0; // solves the grayed-out divider
}
.vjs-duration {
display: flex;
margin-left: 0.4rem;
}
.vjs-menu-button {