From 23d367f544485eaeed888c707012a8282bbb5806 Mon Sep 17 00:00:00 2001 From: Eugen Rochko <eugen@zeonfederated.com> Date: Fri, 21 Oct 2022 10:05:50 +0200 Subject: [PATCH] Fix too many featured tags causing navigation panel scroll in web UI (#19398) --- .../mastodon/features/account/components/featured_tags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/features/account/components/featured_tags.js b/app/javascript/mastodon/features/account/components/featured_tags.js index 5837f6e6d8..51be9a6092 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')}