From 47c5882ac5fb94e428f35b84f27e043f25cbd8ec Mon Sep 17 00:00:00 2001 From: infinite-persistence Date: Wed, 8 Dec 2021 12:08:46 +0800 Subject: [PATCH] Add note on removing !important when we upgrade vjs later. --- ui/scss/component/_file-render.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ui/scss/component/_file-render.scss b/ui/scss/component/_file-render.scss index d43615d91..c9ae12ea1 100644 --- a/ui/scss/component/_file-render.scss +++ b/ui/scss/component/_file-render.scss @@ -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-current-time, .vjs-time-divider,