Fix media-modal
This commit is contained in:
parent
97b5dea61d
commit
2251dd9f15
|
@ -135,7 +135,7 @@ class ImageLoader extends PureComponent<IImageLoader> {
|
|||
const { alt, src, width, height, onClick } = this.props;
|
||||
const { loading } = this.state;
|
||||
|
||||
const className = 'relative size-full flex items-center justify-center flex-col';
|
||||
const className = 'relative h-[80vh] flex items-center justify-center flex-col';
|
||||
|
||||
return (
|
||||
<div className={className}>
|
||||
|
|
|
@ -316,7 +316,7 @@ const MediaModal: React.FC<IMediaModal> = (props) => {
|
|||
style={swipeableViewsStyle}
|
||||
containerStyle={containerStyle}
|
||||
onChangeIndex={handleSwipe}
|
||||
className='flex items-center justify-center '
|
||||
className='flex items-center justify-center'
|
||||
index={getIndex()}
|
||||
>
|
||||
{content}
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
@apply max-w-full max-h-[80%];
|
||||
}
|
||||
}
|
||||
|
||||
.status {
|
||||
@apply min-h-[54px] cursor-default animate-fade opacity-100;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue