mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-03 17:56:26 +01:00
Fix video player width not being updated to fit container width (#10069)
This commit is contained in:
parent
7853be1f06
commit
d1d7d14f77
@ -347,7 +347,6 @@ class Video extends React.PureComponent {
|
|||||||
width = containerWidth;
|
width = containerWidth;
|
||||||
height = containerWidth / (16/9);
|
height = containerWidth / (16/9);
|
||||||
|
|
||||||
playerStyle.width = width;
|
|
||||||
playerStyle.height = height;
|
playerStyle.height = height;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user