mirror of
https://github.com/flarum/core.git
synced 2025-07-17 23:01:17 +02: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