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