diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-10-21 10:05:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-21 10:05:50 +0200 |
commit | 23d367f544485eaeed888c707012a8282bbb5806 (patch) | |
tree | db9e4f780626fb8da0de3df721a9473d9720f5d3 /app | |
parent | 9215ad5f198787188632a06e199d702f8ac9e642 (diff) |
Fix too many featured tags causing navigation panel scroll in web UI (#19398)
Diffstat (limited to 'app')
-rw-r--r-- | app/javascript/mastodon/features/account/components/featured_tags.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/mastodon/features/account/components/featured_tags.js b/app/javascript/mastodon/features/account/components/featured_tags.js index 5837f6e6d..51be9a609 100644 --- a/app/javascript/mastodon/features/account/components/featured_tags.js +++ b/app/javascript/mastodon/features/account/components/featured_tags.js @@ -35,7 +35,7 @@ class FeaturedTags extends ImmutablePureComponent { <div className='getting-started__trends'> <h4><FormattedMessage id='account.featured_tags.title' defaultMessage="{name}'s featured hashtags" values={{ name: <bdi dangerouslySetInnerHTML={{ __html: account.get('display_name_html') }} /> }} /></h4> - {featuredTags.map(featuredTag => ( + {featuredTags.take(3).map(featuredTag => ( <Hashtag key={featuredTag.get('name')} name={featuredTag.get('name')} |