Tweak how discussion sidebar displays on mobile

Give all items in an item list a class on their <li>. Super helpful for
styling
This commit is contained in:
Toby Zerner
2015-06-25 15:38:29 +09:30
parent 099b910be9
commit f2f23138b2
4 changed files with 25 additions and 3 deletions

View File

@ -20,7 +20,7 @@ export default class ActionButton extends Component {
attrs.href = attrs.href || 'javascript:;';
return m('a'+(iconName ? '.has-icon' : ''), attrs, [
iconName ? icon(iconName+' icon') : '',
iconName ? icon(iconName+' icon') : '', ' ',
m('span.label', label)
]);
}