Change classname "media-modal" and "extended-video-player" to use only Tailwind
This commit is contained in:
parent
000253bdc4
commit
afd7260e3d
|
@ -42,10 +42,11 @@ const ExtendedVideoPlayer: React.FC<IExtendedVideoPlayer> = ({ src, alt, time, c
|
|||
}
|
||||
|
||||
return (
|
||||
<div className='extended-video-player'>
|
||||
<div className='flex size-full items-center justify-center'>
|
||||
<video
|
||||
ref={video}
|
||||
src={src}
|
||||
className='max-h-[80%] max-w-full'
|
||||
autoPlay
|
||||
role='button'
|
||||
tabIndex={0}
|
||||
|
|
|
@ -233,7 +233,7 @@ const MediaModal: React.FC<IMediaModal> = (props) => {
|
|||
};
|
||||
|
||||
return (
|
||||
<div className='media-modal pointer-events-auto fixed inset-0 z-[9999] h-full bg-gray-900/90'>
|
||||
<div className='pointer-events-auto fixed inset-0 z-[9999] h-full bg-gray-900/90'>
|
||||
<div
|
||||
className='absolute inset-0'
|
||||
role='presentation'
|
||||
|
|
Loading…
Reference in New Issue