[Glitch] Fix missing GIF badge in account gallery

Port a4b69bec2e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
pull/2339/head
Christian Schmidt 2023-07-26 03:33:31 +02:00 committed by Claire
parent 88ba538aad
commit 879c7ed2d3
1 changed files with 5 additions and 1 deletions

View File

@ -130,7 +130,11 @@ export default class MediaItem extends ImmutablePureComponent {
<div className='media-gallery__gifv'>
{content}
{label && <span className='media-gallery__gifv__label'>{label}</span>}
{label && (
<div className='media-gallery__item__badges'>
<span className='media-gallery__gifv__label'>{label}</span>
</div>
)}
</div>
);
}