Merge pull request #1134 from mjfwebb/hide-empty-controls

Hide empty controls
This commit is contained in:
Sam Potts
2018-07-30 22:47:10 +10:00
committed by GitHub
2 changed files with 11 additions and 6 deletions

View File

@ -109,3 +109,11 @@
.plyr--fullscreen-enabled [data-plyr='fullscreen'] {
display: inline-block;
}
.plyr__controls:empty {
display: none;
~ .plyr__captions {
transform: translateY(0);
}
}