pl-fe: nesting issues fix

Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
This commit is contained in:
nicole mikołajczyk
2026-02-07 23:35:44 +01:00
parent aa43c2bd73
commit 79711d83bb
4 changed files with 5 additions and 4 deletions

View File

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

View File

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