Change classname "media-modal" and "extended-video-player" to use only Tailwind

This commit is contained in:
danidfra 2024-11-01 16:47:24 -03:00
parent 000253bdc4
commit afd7260e3d
2 changed files with 3 additions and 2 deletions

View File

@ -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}

View File

@ -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'