mirror of
https://github.com/flarum/framework.git
synced 2024-12-12 06:03:39 +08:00
Tweak display of badges in the discussion hero
This commit is contained in:
parent
222a08222f
commit
5f3b53634c
|
@ -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>);
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
.badges {
|
||||
margin-right: 10px;
|
||||
margin-bottom: -2px;
|
||||
vertical-align: 2px;
|
||||
}
|
||||
}
|
||||
.DiscussionHero-items {
|
||||
|
|
Loading…
Reference in New Issue
Block a user