mirror of
https://github.com/kikobar/mastodon.git
synced 2024-11-18 13:17:35 +00:00
Fix too many featured tags causing navigation panel scroll in web UI (#19398)
This commit is contained in:
parent
9215ad5f19
commit
23d367f544
|
@ -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…
Reference in a new issue