Change classname "media-gallery_preview" in uplodad to use only Tailwind

This commit is contained in:
danidfra 2024-11-02 19:11:27 -03:00
parent 08fcb5ef97
commit 362506d738
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ const Upload: React.FC<IUpload> = ({
onDragEnter={onDragEnter}
onDragEnd={onDragEnd}
>
<Blurhash hash={media.blurhash} className='media-gallery__preview' />
<Blurhash hash={media.blurhash} className='absolute left-0 top-0 z-0 size-full rounded-lg bg-gray-200 object-cover dark:bg-gray-900' />
<Motion defaultStyle={{ scale: 0.8 }} style={{ scale: spring(1, { stiffness: 180, damping: 12 }) }}>
{({ scale }) => (
<div