Skip to content
Permalink
Browse files

Implement compiler-friendly captions styles

  • Loading branch information...
zetagame committed Jul 3, 2019
1 parent 1f410f1 commit b6ce44aaa228119495be0b3d32d450cf248992f1
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/css/jwplayer/imports/captions.less
@@ -80,7 +80,11 @@
.jwplayer:not(.jw-state-playing),
.jwplayer.jw-flag-media-audio.jw-state-playing,
.jwplayer.jw-state-playing:not(.jw-flag-user-inactive):not(.jw-flag-controls-hidden) {
.jw-captions,
// Style duplication below prevents compiler bug resulting in lost styles.
.jw-captions {
max-height: calc(100% - 60px);
}

&:not(.jw-flag-ios-fullscreen) video::-webkit-media-text-track-container {
max-height: calc(100% - 60px);
}

0 comments on commit b6ce44a

Please sign in to comment.
You can’t perform that action at this time.