]> cat aescling's git repositories - mastodon.git/commitdiff
Fix video player width not being updated to fit container width (#10069)
authorThibG <thib@sitedethib.com>
Sun, 17 Feb 2019 23:10:21 +0000 (00:10 +0100)
committerEugen Rochko <eugen@zeonfederated.com>
Sun, 17 Feb 2019 23:10:21 +0000 (00:10 +0100)
app/javascript/mastodon/features/video/index.js

index 894fe78d9e8aa49d8ca08b7fdbbde59a33a8d15c..55dd249e142e45c781c2ca5615cbb45b8b5b171c 100644 (file)
@@ -347,7 +347,6 @@ class Video extends React.PureComponent {
       width  = containerWidth;
       height = containerWidth / (16/9);
 
-      playerStyle.width  = width;
       playerStyle.height = height;
     }