mirror of
https://github.com/flarum/framework.git
synced 2024-12-05 00:43:39 +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',
|
m('h3',
|
||||||
user ? [
|
user ? [
|
||||||
m('a', {href: app.route('user', {username: user.username()}), config: m.route}, [
|
m('a', {href: app.route('user', {username: user.username()}), config: m.route}, [
|
||||||
avatar(user),
|
avatar(user), ' ',
|
||||||
username(user)
|
username(user)
|
||||||
]),
|
]),
|
||||||
m('ul.badges', listItems(user.badges().toArray().reverse()))
|
m('ul.badges', listItems(user.badges().toArray().reverse()))
|
||||||
] : [
|
] : [
|
||||||
avatar(),
|
avatar(), ' ',
|
||||||
username()
|
username()
|
||||||
]
|
]
|
||||||
),
|
),
|
||||||
|
|
Loading…
Reference in New Issue
Block a user