Fix VideoModal, remove Video close button
This commit is contained in:
parent
b8eff3e46b
commit
18c4210cec
2 changed files with 11 additions and 13 deletions
|
@ -31,8 +31,7 @@ const VideoModal: React.FC<IVideoModal> = ({ status, account, media, time, onClo
|
||||||
);
|
);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className='modal-root__modal video-modal'>
|
<div className='block w-full max-w-xl mx-auto overflow-hidden text-left align-middle transition-all transform shadow-xl rounded-2xl pointer-events-auto'>
|
||||||
<div>
|
|
||||||
<Video
|
<Video
|
||||||
preview={media.preview_url}
|
preview={media.preview_url}
|
||||||
blurhash={media.blurhash}
|
blurhash={media.blurhash}
|
||||||
|
@ -44,7 +43,6 @@ const VideoModal: React.FC<IVideoModal> = ({ status, account, media, time, onClo
|
||||||
alt={media.description}
|
alt={media.description}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Binary file not shown.
Loading…
Reference in a new issue