From 58f3c3f1095de8d1f8bad3fbf61efb4366ae41fc Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 2 Aug 2019 11:16:42 +0200 Subject: Fix player width with playlist --- 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 5dc79c6b7..9c3f53b3d 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.scss +++ b/client/src/app/videos/+video-watch/video-watch.component.scss @@ -82,7 +82,8 @@ $player-factor: 1.7; // 16/9 } ::ng-deep .video-js { - width: getPlayerWidth(66vh); + width: 100%; + max-width: getPlayerWidth(66vh); height: 66vh; // VideoJS create an inner video player -- cgit v1.2.3