Tweak display of badges in the discussion hero

This commit is contained in:
Toby Zerner 2015-07-22 09:58:14 +09:30
parent 222a08222f
commit 5f3b53634c
2 changed files with 2 additions and 1 deletions

View File

@ -31,7 +31,7 @@ export default class DiscussionHero extends Component {
const badges = discussion.badges().toArray();
if (badges.length) {
items.add('badges', <ul className="DiscussionHero-badges badges">{listItems(badges)}</ul>);
items.add('badges', <ul className="DiscussionHero-badges badges">{listItems(badges)}</ul>, 10);
}
items.add('title', <h2 className="DiscussionHero-title">{discussion.title()}</h2>);

View File

@ -2,6 +2,7 @@
.badges {
margin-right: 10px;
margin-bottom: -2px;
vertical-align: 2px;
}
}
.DiscussionHero-items {