Adjusting image centering in the media-modal
This commit is contained in:
parent
17440c4dbc
commit
c10b82ad53
|
@ -315,6 +315,7 @@ const MediaModal: React.FC<IMediaModal> = (props) => {
|
||||||
style={swipeableViewsStyle}
|
style={swipeableViewsStyle}
|
||||||
containerStyle={containerStyle}
|
containerStyle={containerStyle}
|
||||||
onChangeIndex={handleSwipe}
|
onChangeIndex={handleSwipe}
|
||||||
|
className='flex items-center justify-center '
|
||||||
index={getIndex()}
|
index={getIndex()}
|
||||||
>
|
>
|
||||||
{content}
|
{content}
|
||||||
|
|
Loading…
Reference in New Issue