fix(components/media_modal): Style issues (#4187)
This commit is contained in:
1 parent
0c7c188c45
commit
a9a0c854e1
3 files changed
+21
-11
No files matched your search
@@ -5,6 +5,8 @@ export default class ExtendedVideoPlayer extends React.PureComponent {
|
||||
|
||||
static propTypes = {
|
||||
src: PropTypes.string.isRequired,
|
||||
width: PropTypes.number,
|
||||
height: PropTypes.number,
|
||||
time: PropTypes.number,
|
||||
controls: PropTypes.bool.isRequired,
|
||||
muted: PropTypes.bool.isRequired,
|
||||
@@ -30,7 +32,7 @@ export default class ExtendedVideoPlayer extends React.PureComponent {
|
||||
|
||||
render () {
|
||||
return (
|
||||
<div className='extended-video-player'>
|
||||
<div className='extended-video-player' style={{ width: this.props.width, height: this.props.height }}>
|
||||
<video
|
||||
ref={this.setRef}
|
||||
src={this.props.src}
|
||||
|
||||
Reference in new issue
Block a user