From: ThibG Date: Sun, 17 Feb 2019 23:10:21 +0000 (+0100) Subject: Fix video player width not being updated to fit container width (#10069) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=d1d7d14f77733be2e0938488752e94d65eedc6aa;p=mastodon.git Fix video player width not being updated to fit container width (#10069) --- diff --git a/app/javascript/mastodon/features/video/index.js b/app/javascript/mastodon/features/video/index.js index 894fe78d9..55dd249e1 100644 --- a/app/javascript/mastodon/features/video/index.js +++ b/app/javascript/mastodon/features/video/index.js @@ -347,7 +347,6 @@ class Video extends React.PureComponent { width = containerWidth; height = containerWidth / (16/9); - playerStyle.width = width; playerStyle.height = height; }