pl-fe: nesting issues fix
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -185,7 +185,7 @@ const Item: React.FC<IItem> = ({
|
||||
target='_blank'
|
||||
>
|
||||
<StillImage
|
||||
className='size-full'
|
||||
className='block size-full'
|
||||
src={mediaPreview ? attachment.preview_url : attachment.url}
|
||||
alt={attachment.description}
|
||||
letterboxed={letterboxed}
|
||||
|
||||
@ -64,7 +64,7 @@ const StillImage: React.FC<IStillImage> = ({
|
||||
});
|
||||
|
||||
return (
|
||||
<div
|
||||
<span
|
||||
data-testid='still-image-container'
|
||||
className={clsx(className, 'relative isolate', { 'group': !noGroup })}
|
||||
style={style}
|
||||
@ -98,7 +98,7 @@ const StillImage: React.FC<IStillImage> = ({
|
||||
<ExtensionBadge ext='GIF' />
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</span>
|
||||
);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user