Updated MediaModal height styles
• Fixes: - Overflow of media when media height exceeds window height. Now, it fits within the window bounds as expected.
This commit is contained in:
parent
cd159c8f5b
commit
5f50ea137f
@ -256,6 +256,10 @@ class MediaModal extends ImmutablePureComponent {
|
|||||||
containerStyle={{
|
containerStyle={{
|
||||||
alignItems: 'center',
|
alignItems: 'center',
|
||||||
width: '100%',
|
width: '100%',
|
||||||
|
height: '100%',
|
||||||
|
}}
|
||||||
|
slideStyle={{
|
||||||
|
height: '100%',
|
||||||
}}
|
}}
|
||||||
onChangeIndex={this.handleSwipe}
|
onChangeIndex={this.handleSwipe}
|
||||||
onSwitching={this.handleSwitching}
|
onSwitching={this.handleSwitching}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user