diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-10-21 10:05:50 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-10-28 19:24:02 +0200 |
commit | c9d3c7d63a3218e3e113435213b7f9e63feb68a1 (patch) | |
tree | 951f68720fe3272b6671b7bd3ca4057272867813 /app/javascript/flavours/glitch | |
parent | 7bb1b917b27760609b08c8c690c87a69ea321ce3 (diff) |
[Glitch] Fix too many featured tags causing navigation panel scroll in web UI
Port 23d367f544485eaeed888c707012a8282bbb5806 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch')
-rw-r--r-- | app/javascript/flavours/glitch/features/account/components/featured_tags.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/account/components/featured_tags.js b/app/javascript/flavours/glitch/features/account/components/featured_tags.js index 7466180c9..d646b08b2 100644 --- a/app/javascript/flavours/glitch/features/account/components/featured_tags.js +++ b/app/javascript/flavours/glitch/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')} |