aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSam Potts <me@sampotts.me>2016-01-12 22:31:37 +1100
committerSam Potts <me@sampotts.me>2016-01-12 22:31:37 +1100
commitc449fc08675f9a99c3efa8c6dcdca46b5994e505 (patch)
tree3f45c81e8f3a5486911d78820f9c9eb6a0d7fe21 /src
parent18b2d819852a811aff76fd8c85071e509da482f3 (diff)
downloadplyr-c449fc08675f9a99c3efa8c6dcdca46b5994e505.tar.lz
plyr-c449fc08675f9a99c3efa8c6dcdca46b5994e505.tar.xz
plyr-c449fc08675f9a99c3efa8c6dcdca46b5994e505.zip
Controls bug fix
Diffstat (limited to 'src')
-rw-r--r--src/less/plyr.less4
1 files changed, 2 insertions, 2 deletions
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;