[Glitch] Fix too many featured tags causing navigation panel scroll in web UI

Port a51d8075b6 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
th-downstream
Eugen Rochko 2 years ago committed by Claire
parent e06a095eb4
commit 6ecd6364be

@ -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')}

Loading…
Cancel
Save