about summary refs log tree commit diff
path: root/app/javascript
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2019-02-18 00:10:21 +0100
committerEugen Rochko <eugen@zeonfederated.com>2019-02-18 00:10:21 +0100
commitd1d7d14f77733be2e0938488752e94d65eedc6aa (patch)
tree7348dcb59c15f1eb14ec939f63f40d1a09043e0f /app/javascript
parent7853be1f06e2a22582cf664a0957f98c46e00a6d (diff)
Fix video player width not being updated to fit container width (#10069)
Diffstat (limited to 'app/javascript')
-rw-r--r--app/javascript/mastodon/features/video/index.js1
1 files changed, 0 insertions, 1 deletions
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;
     }