[Glitch] Fix missing GIF badge in account gallery

Port a4b69bec2e to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
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'> <div className='media-gallery__gifv'>
{content} {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> </div>
); );
} }