diff options
author | Chocobozzz <me@florianbigard.com> | 2019-08-02 11:16:42 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-08-02 11:16:42 +0200 |
commit | 58f3c3f1095de8d1f8bad3fbf61efb4366ae41fc (patch) | |
tree | 9e61d6d5dd4531a79874b8c0fbdb8eb34ee50b95 /client/src/app/videos | |
parent | 1198edf4bb06ce5f1668b97cf9ca8fb483fe3f41 (diff) | |
download | PeerTube-58f3c3f1095de8d1f8bad3fbf61efb4366ae41fc.tar.gz PeerTube-58f3c3f1095de8d1f8bad3fbf61efb4366ae41fc.tar.zst PeerTube-58f3c3f1095de8d1f8bad3fbf61efb4366ae41fc.zip |
Fix player width with playlist
Diffstat (limited to 'client/src/app/videos')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.scss | 3 |
1 files changed, 2 insertions, 1 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 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 | |||
82 | } | 82 | } |
83 | 83 | ||
84 | ::ng-deep .video-js { | 84 | ::ng-deep .video-js { |
85 | width: getPlayerWidth(66vh); | 85 | width: 100%; |
86 | max-width: getPlayerWidth(66vh); | ||
86 | height: 66vh; | 87 | height: 66vh; |
87 | 88 | ||
88 | // VideoJS create an inner video player | 89 | // VideoJS create an inner video player |