kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
Adjusting image centering in the media-modal
rodzic
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}
|
||||||
|
|
Ładowanie…
Reference in New Issue