mirror of
https://github.com/flarum/framework.git
synced 2024-12-03 23:53:43 +08:00
Add a space between avatar/username for better display on mobile
This commit is contained in:
parent
a80ae5c400
commit
e77d0e0786
|
@ -22,12 +22,12 @@ export default class PostHeaderUser extends Component {
|
|||
m('h3',
|
||||
user ? [
|
||||
m('a', {href: app.route('user', {username: user.username()}), config: m.route}, [
|
||||
avatar(user),
|
||||
avatar(user), ' ',
|
||||
username(user)
|
||||
]),
|
||||
m('ul.badges', listItems(user.badges().toArray().reverse()))
|
||||
] : [
|
||||
avatar(),
|
||||
avatar(), ' ',
|
||||
username()
|
||||
]
|
||||
),
|
||||
|
|
Loading…
Reference in New Issue
Block a user