Skip to content

Commit

Permalink
fix: remaining time display width on IE8 and IE9 (#3983)
Browse files Browse the repository at this point in the history
vjs-no-flex environments like IE8 and IE9 don't work properly with width: auto.
  • Loading branch information
brandonocasey authored and gkatsev committed Jan 27, 2017
1 parent 37a6811 commit 866a3f3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/css/components/_time.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 866a3f3

Please sign in to comment.