mirror of
https://github.com/funamitech/mastodon
synced 2024-12-01 16:28:35 +09:00
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.
This commit is contained in:
parent
7f35947d8e
commit
681c33d1f4
@ -32,7 +32,7 @@ export default class ExtendedVideoPlayer extends React.PureComponent {
|
|||||||
|
|
||||||
render () {
|
render () {
|
||||||
return (
|
return (
|
||||||
<div className='extended-video-player' style={{ width: this.props.width, height: this.props.height }}>
|
<div className='extended-video-player'>
|
||||||
<video
|
<video
|
||||||
ref={this.setRef}
|
ref={this.setRef}
|
||||||
src={this.props.src}
|
src={this.props.src}
|
||||||
|
Loading…
Reference in New Issue
Block a user