From c449fc08675f9a99c3efa8c6dcdca46b5994e505 Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Tue, 12 Jan 2016 22:31:37 +1100 Subject: Controls bug fix --- src/less/plyr.less | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/less/plyr.less b/src/less/plyr.less index 1cadd0ab..7db6c021 100644 --- a/src/less/plyr.less +++ b/src/less/plyr.less @@ -637,7 +637,7 @@ } // Hide controls when playing in full screen - &--fullscreen--hide-controls.plyr--playing { + &--fullscreen--hide-controls&--fullscreen-active.plyr--playing { .plyr__controls { transform: translateY(100%) translateY(@control-spacing / 2); transition: transform .3s .2s ease; @@ -654,7 +654,7 @@ // Captions &--fullscreen .plyr__captions, &--fullscreen-active .plyr__captions, - &--fullscreen--hide-controls.plyr--playing.plyr--hover .plyr__captions { + &--fullscreen--hide-controls&--fullscreen-active&--playing&--hover .plyr__captions { top: auto; bottom: 90px; -- cgit v1.2.3