From 5eda4985160b168464ac62ba174a847cbc099f7c Mon Sep 17 00:00:00 2001 From: mjfwebb Date: Sun, 29 Jul 2018 22:02:16 +0200 Subject: [PATCH] If the plyr__controls is empty it is still showing the transition causing captions to be pushed up when hovering over where the controls would be. This change hides the plyr__controls div when it is empty. --- src/sass/components/controls.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/sass/components/controls.scss b/src/sass/components/controls.scss index 9b203f43..4ed5b28a 100644 --- a/src/sass/components/controls.scss +++ b/src/sass/components/controls.scss @@ -109,3 +109,7 @@ .plyr--fullscreen-enabled [data-plyr='fullscreen'] { display: inline-block; } + +.plyr__controls:empty { + display: none; +} \ No newline at end of file