Fix video player width not being updated to fit container width (#10069)

master
ThibG 5 years ago committed by Eugen Rochko
parent 7853be1f06
commit d1d7d14f77
  1. 1
      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;
}

Loading…
Cancel
Save