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:
mgabdev 2020-05-15 17:34:40 -04:00
parent cd159c8f5b
commit 5f50ea137f

View File

@ -256,6 +256,10 @@ class MediaModal extends ImmutablePureComponent {
containerStyle={{
alignItems: 'center',
width: '100%',
height: '100%',
}}
slideStyle={{
height: '100%',
}}
onChangeIndex={this.handleSwipe}
onSwitching={this.handleSwitching}