about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features
diff options
context:
space:
mode:
authorThibaut Girka <thib@sitedethib.com>2019-02-17 21:58:02 +0100
committerThibG <thib@sitedethib.com>2019-02-18 10:44:37 +0100
commitd974988541237419495e86b534f63259a28d0642 (patch)
treeee86091da3718637626b1f9e8b9212e580a1ffcb /app/javascript/flavours/glitch/features
parent1aa87a1967b37e9f118b87ee643944798d3c90f4 (diff)
Fix video player width not being updated to fit container width
Diffstat (limited to 'app/javascript/flavours/glitch/features')
-rw-r--r--app/javascript/flavours/glitch/features/video/index.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/video/index.js b/app/javascript/flavours/glitch/features/video/index.js
index a6f651db6..cf66536c4 100644
--- a/app/javascript/flavours/glitch/features/video/index.js
+++ b/app/javascript/flavours/glitch/features/video/index.js
@@ -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>);