From acbffe9c0f2c1761fef11d49fb3da97734b000e5 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 28 Feb 2018 09:39:08 +0100 Subject: Add max video height on mobile --- client/src/app/videos/+video-watch/video-watch.component.scss | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client/src') 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 eb701e0ab..11518633c 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss @@ -10,8 +10,9 @@ width: 888px; height: 500px; - @media screen and (max-width: 800px) { + @media screen and (max-width: 600px) { height: auto; + max-height: calc(100vh - #{$header-height}); } // VideoJS create an inner video player -- cgit v1.2.3