Enlarge the play icon size

per Anthony's comment. It's still not as large as before, as I believe the size should match the other icons (which the previous version did not).
This commit is contained in:
infinite-persistence 2021-12-09 00:25:27 +08:00
parent 9ec1b17515
commit ece9f9ceae
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -444,11 +444,22 @@ $control-bar-icon-size: 0.7rem;
line-height: $control-bar-height; line-height: $control-bar-height;
} }
.vjs-icon-placeholder::before {
line-height: $control-bar-height;
}
.vjs-quality-selector { .vjs-quality-selector {
.vjs-icon-placeholder { .vjs-icon-placeholder {
font-size: $control-bar-font-size; // quality selector uses regular text font font-size: $control-bar-font-size; // quality selector uses regular text font
} }
} }
.vjs-play-control {
.vjs-icon-placeholder {
// The play icon in font VideoJs is smaller than its peers. Compensate to match the height.
font-size: calc(#{$control-bar-icon-size} * 1.2);
}
}
} }
.vjs-picture-in-picture-control { .vjs-picture-in-picture-control {