diff options
author | Christian Schmidt <github@chsc.dk> | 2023-07-26 03:33:31 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-26 03:33:31 +0200 |
commit | a4b69bec2eab61f2c3dcebddfe1474be386f828e (patch) | |
tree | 5fa73315888798a3dd3689361f5ff740c514ef43 | |
parent | 6781dc6462b0511a2d3e6e08c965b7006ffd3331 (diff) |
Fix missing GIF badge in account gallery (#26166)
-rw-r--r-- | app/javascript/mastodon/features/account_gallery/components/media_item.jsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/account_gallery/components/media_item.jsx b/app/javascript/mastodon/features/account_gallery/components/media_item.jsx index f60be5d54d7..63fbac67996 100644 --- a/app/javascript/mastodon/features/account_gallery/components/media_item.jsx +++ b/app/javascript/mastodon/features/account_gallery/components/media_item.jsx @@ -128,7 +128,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> ); } |