Add note on removing !important when we upgrade vjs later.

This commit is contained in:
infinite-persistence 2021-12-08 12:08:46 +08:00
parent 61c73f1572
commit 47c5882ac5
No known key found for this signature in database
GPG key ID: B9C3252EDC3D0AA0

View file

@ -526,6 +526,11 @@ video::-internal-media-controls-overlay-cast-button {
} }
} }
// Note: the '!important' above and below this line was added a quick hack
// to negate a change in vjs without having to increase specificity here.
// It won't be needed in an upcoming version of vjs, as they have updated
// their side https://github.com/videojs/video.js/pull/7098#issuecomment-908438543
&.vjs-layout-small { &.vjs-layout-small {
.vjs-current-time, .vjs-current-time,
.vjs-time-divider, .vjs-time-divider,