From dc13623baa244e13c33cc803de808818ef1e95a4 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 13 Nov 2020 14:49:27 +0100 Subject: Fix player height on mobile --- client/src/app/+videos/+video-watch/video-watch.component.scss | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'client/src/app/+videos') 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 e198a8bb0..d0cefdc92 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.scss +++ b/client/src/app/+videos/+video-watch/video-watch.component.scss @@ -98,10 +98,14 @@ $video-info-margin-left: 44px; } @media screen and (max-width: 600px) { + #videojs-wrapper { + height: getPlayerHeight(100vw) !important; + } + .remote-server-down, ::ng-deep .video-js { width: 100vw; - height: getPlayerHeight(100vw) + height: getPlayerHeight(100vw) !important; } } } -- cgit v1.2.3