From 866a3f37d8712504e47debb5d7ffc5a8abfe52fa Mon Sep 17 00:00:00 2001 From: Brandon Casey Date: Fri, 27 Jan 2017 17:40:03 -0500 Subject: [PATCH] fix: remaining time display width on IE8 and IE9 (#3983) vjs-no-flex environments like IE8 and IE9 don't work properly with width: auto. --- src/css/components/_time.scss | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/css/components/_time.scss b/src/css/components/_time.scss index 0144dacd7d..081f1e43b8 100644 --- a/src/css/components/_time.scss +++ b/src/css/components/_time.scss @@ -18,6 +18,12 @@ display: none; } +// IE 8 + IE 9 width: auto container fix +.vjs-no-flex .vjs-remaining-time.vjs-time-control.vjs-control { + width: 0px !important; + white-space: nowrap; +} + .video-js .vjs-duration, .vjs-no-flex .vjs-duration { display: none;