Add a space between avatar/username for better display on mobile

This commit is contained in:
Toby Zerner 2015-05-18 10:37:24 +09:30
parent a80ae5c400
commit e77d0e0786

View File

@ -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()
] ]
), ),