Skip to content

Commit

Permalink
feat: add style for video
Browse files Browse the repository at this point in the history
  • Loading branch information
ZakaryCode authored and luckyadam committed Dec 19, 2019
1 parent f2e0dad commit 6e3a65f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/taro-components/src/components/video/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ class Video extends Component {
</div>
</div>
)
return this.state.isFullScreen ? createPortal(videoNode, document.body) : <div className='taro-video'>{videoNode}</div>
return this.state.isFullScreen ? createPortal(videoNode, document.body) : <div className='taro-video' style={this.props.style}>{videoNode}</div>
}
}

Expand Down

0 comments on commit 6e3a65f

Please sign in to comment.