Browse Source

Quit overwriting style of extended-video-player (#4237)

Though size of extended-video-player is already fixed to 80vw*80vh in components.scss, player size was also set to original video size in extended_video_player.js. Video size is fixed to 80vw*80vh, so video player's size must also be fixed to 80vw*80vh.
pull/4/head
Lynx Kotoura 6 years ago
committed by Eugen Rochko
parent
commit
681c33d1f4
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/javascript/mastodon/components/extended_video_player.js

+ 1
- 1
app/javascript/mastodon/components/extended_video_player.js View File

@ -32,7 +32,7 @@ export default class ExtendedVideoPlayer extends React.PureComponent {
render () {
return (
<div className='extended-video-player' style={{ width: this.props.width, height: this.props.height }}>
<div className='extended-video-player'>
<video
ref={this.setRef}
src={this.props.src}

Loading…
Cancel
Save