mirror of
https://github.com/flarum/framework.git
synced 2025-05-23 07:09:57 +08:00
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:
@ -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)
|
||||
]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user