From 99cb1a0a6502a2157fcd46b0c61017f75688a8b1 Mon Sep 17 00:00:00 2001 From: Jeremy Kauffman Date: Sun, 2 Jul 2017 10:48:18 -0400 Subject: [PATCH] fix video sizing, remove unused CSS --- ui/dist/index.html | 1 - ui/scss/component/_video.scss | 10 ++++------ 2 files changed, 4 insertions(+), 7 deletions(-) diff --git a/ui/dist/index.html b/ui/dist/index.html index 8fbf0b5b6..d951dddd1 100644 --- a/ui/dist/index.html +++ b/ui/dist/index.html @@ -7,7 +7,6 @@ - diff --git a/ui/scss/component/_video.scss b/ui/scss/component/_video.scss index 745b2d494..aff720a7b 100644 --- a/ui/scss/component/_video.scss +++ b/ui/scss/component/_video.scss @@ -17,9 +17,12 @@ video { max-width: $width-page-constrained; max-height: $height-video-embedded; height: $height-video-embedded; - position: relative; /*for .plyr below*/ + position: relative; video { height: 100%; + position: absolute; + left: 0; + top: 0; } &.video--hidden { height: $height-video-embedded; @@ -27,11 +30,6 @@ video { &.video--active { /*background: none;*/ } - - .plyr { - top: 50%; - transform: translateY(-50%); - } } .video--obscured .video__cover {