1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-11-28 23:09:12 +09:00

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

This commit is contained in:
ThibG 2019-02-18 00:10:21 +01:00 committed by Eugen Rochko
parent 7853be1f06
commit d1d7d14f77

View File

@ -347,7 +347,6 @@ class Video extends React.PureComponent {
width = containerWidth;
height = containerWidth / (16/9);
playerStyle.width = width;
playerStyle.height = height;
}