diff options
author | Jonas Sulzer <jonas@violoncello.ch> | 2021-04-04 01:35:55 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2021-04-05 09:16:35 +0200 |
commit | 37ecefa256bb48448ea633cf7c8e24fc9ac69359 (patch) | |
tree | f51c06d741e09633ad67b90f46ff252bf344a201 /client/src | |
parent | 0a25749f14a083d2c388b6229cbdbba695d0387e (diff) | |
download | PeerTube-37ecefa256bb48448ea633cf7c8e24fc9ac69359.tar.gz PeerTube-37ecefa256bb48448ea633cf7c8e24fc9ac69359.tar.zst PeerTube-37ecefa256bb48448ea633cf7c8e24fc9ac69359.zip |
🐛 FIX: player width/heigth aspect ratio
to remove unnecessary black border above and below the video
Signed-off-by: Jonas Sulzer <jonas@violoncello.ch>
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch.component.scss | 2 |
1 files changed, 1 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 f22ffc0ea..2e566e3fb 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.scss +++ b/client/src/app/+videos/+video-watch/video-watch.component.scss | |||
@@ -3,7 +3,7 @@ | |||
3 | @import '_bootstrap-variables'; | 3 | @import '_bootstrap-variables'; |
4 | @import '_miniature'; | 4 | @import '_miniature'; |
5 | 5 | ||
6 | $player-factor: 1.7; // 16/9 | 6 | $player-factor: #{16/9}; |
7 | $video-info-margin-left: 44px; | 7 | $video-info-margin-left: 44px; |
8 | 8 | ||
9 | @function getPlayerHeight($width){ | 9 | @function getPlayerHeight($width){ |