about summary refs log tree commit diff
path: root/app/javascript/mastodon/features/account/components/featured_tags.js
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-10-21 10:05:50 +0200
committerGitHub <noreply@github.com>2022-10-21 10:05:50 +0200
commit23d367f544485eaeed888c707012a8282bbb5806 (patch)
treedb9e4f780626fb8da0de3df721a9473d9720f5d3 /app/javascript/mastodon/features/account/components/featured_tags.js
parent9215ad5f198787188632a06e199d702f8ac9e642 (diff)
Fix too many featured tags causing navigation panel scroll in web UI (#19398)
Diffstat (limited to 'app/javascript/mastodon/features/account/components/featured_tags.js')
-rw-r--r--app/javascript/mastodon/features/account/components/featured_tags.js2
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')}