mirror of
https://github.com/flarum/framework.git
synced 2025-05-23 15:19:56 +08:00
Unify icon class name, change the way icons are floated in menus
This commit is contained in:
@ -22,7 +22,7 @@ export default class DropdownSplit extends Component {
|
||||
ActionButton.component(buttonProps),
|
||||
m('a[href=javascript:;]', {className: 'dropdown-toggle '+this.props.buttonClass, 'data-toggle': 'dropdown'}, [
|
||||
icon('caret-down icon-caret'),
|
||||
icon((this.props.icon || 'ellipsis-v')+' icon-glyph'),
|
||||
icon((this.props.icon || 'ellipsis-v')+' icon'),
|
||||
]),
|
||||
m('ul', {className: 'dropdown-menu '+(this.props.menuClass || 'pull-right')}, items)
|
||||
])
|
||||
|
Reference in New Issue
Block a user