mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
Fix video player width not being updated to fit container width
This commit is contained in:
parent
1aa87a1967
commit
d974988541
@ -366,7 +366,6 @@ export default class Video extends React.PureComponent {
|
||||
width = containerWidth;
|
||||
height = containerWidth / (16/9);
|
||||
|
||||
playerStyle.width = width;
|
||||
playerStyle.height = height;
|
||||
} else if (inline) {
|
||||
return (<div className={computedClass} ref={this.setPlayerRef} tabindex={0}></div>);
|
||||
|
Loading…
Reference in New Issue
Block a user