Change classname "media-gallery_preview" in uplodad to use only Tailwind
This commit is contained in:
parent
08fcb5ef97
commit
362506d738
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue