From 54d9d09bb165d4b47ddc1c10ba81b41b04895911 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 7 Jun 2018 17:26:14 +0200 Subject: [PATCH 1/1] Fix the player size on mobile --- client/src/app/videos/+video-watch/video-watch.component.scss | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/app/videos/+video-watch/video-watch.component.scss b/client/src/app/videos/+video-watch/video-watch.component.scss index d765f23ef..d1f840937 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss @@ -11,8 +11,8 @@ height: 500px; @media screen and (max-width: 600px) { - height: auto; - max-height: calc(100vh - #{$header-height}); + width: 100vw; + height: calc(100vw / 1.7); // 16/9 } // VideoJS create an inner video player -- 2.41.0