Search UI: center hashtag results
parent
340f1e9149
commit
3f282fe433
|
@ -84,7 +84,9 @@ class SearchResults extends ImmutablePureComponent {
|
||||||
<section>
|
<section>
|
||||||
<h5><Icon icon='hashtag' fixedWidth /><FormattedMessage id='search_results.hashtags' defaultMessage='Hashtags' /></h5>
|
<h5><Icon icon='hashtag' fixedWidth /><FormattedMessage id='search_results.hashtags' defaultMessage='Hashtags' /></h5>
|
||||||
|
|
||||||
|
<div className='hashtags'>
|
||||||
{results.get('hashtags').map(hashtag => <Hashtag key={hashtag.get('name')} hashtag={hashtag} />)}
|
{results.get('hashtags').map(hashtag => <Hashtag key={hashtag.get('name')} hashtag={hashtag} />)}
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -228,7 +228,11 @@
|
||||||
border-bottom: 0;
|
border-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
& > .hashtag {
|
& > .hashtags {
|
||||||
|
text-align: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
& > div > .hashtag {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
color: $secondary-text-color;
|
color: $secondary-text-color;
|
||||||
|
|
Loading…
Reference in New Issue