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 (
|
return (
|
||||||
<div className='extended-video-player'>
|
<div className='flex size-full items-center justify-center'>
|
||||||
<video
|
<video
|
||||||
ref={video}
|
ref={video}
|
||||||
src={src}
|
src={src}
|
||||||
|
className='max-h-[80%] max-w-full'
|
||||||
autoPlay
|
autoPlay
|
||||||
role='button'
|
role='button'
|
||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
|
|
|
@ -233,7 +233,7 @@ const MediaModal: React.FC<IMediaModal> = (props) => {
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
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
|
<div
|
||||||
className='absolute inset-0'
|
className='absolute inset-0'
|
||||||
role='presentation'
|
role='presentation'
|
||||||
|
|
Loading…
Reference in New Issue