Skip to content

Commit

Permalink
fix: make video container full height to center video (keybase#23924)
Browse files Browse the repository at this point in the history
  • Loading branch information
cori-hudson authored Apr 23, 2020
1 parent 959453d commit 9db3388
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,13 @@ class _Fullscreen extends React.Component<Props & Kb.OverlayParentProps, {loaded
if (this.props.isVideo) {
const {previewHeight} = this.props
content = (
<Kb.Box2 direction="vertical" fullWidth={true} centerChildren={true} style={styles.videoWrapper}>
<Kb.Box2
direction="vertical"
fullWidth={true}
fullHeight={true}
centerChildren={true}
style={styles.videoWrapper}
>
<RNVideo
source={{uri: `${this.props.path}&contentforce=true`}}
onError={e => {
Expand Down

0 comments on commit 9db3388

Please sign in to comment.