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

Port 23d367f544 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
rebase/4.0.0rc1
Eugen Rochko 2022-10-21 10:05:50 +02:00 committed by Claire
parent 7bb1b917b2
commit c9d3c7d63a
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ class FeaturedTags extends ImmutablePureComponent {
<div className='getting-started__trends'> <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> <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 <Hashtag
key={featuredTag.get('name')} key={featuredTag.get('name')}
name={featuredTag.get('name')} name={featuredTag.get('name')}