mirror of
https://github.com/flarum/core.git
synced 2025-07-14 05:16:24 +02:00
FontAwesome v5.0.6 (#1372)
* Update FontAwesome to v5.0.6 * Adapt DiscussionListItem-count icon to match FontAwesome 5 syntax * Change icon name to match FontAwesome 5.0.6 fas icon * Add font type prefix parameter to icon helper * Add Enable Icon Prefix to show icon in Extension Page * Fix invalid icon behavior * Change icon name to match FontAwesome 5.0.6 far icon * Use iconPrefix property on component * Use full icon class name * Update icon helper docblock * Full icon class syntax
This commit is contained in:
@ -52,7 +52,7 @@ export default class Navigation extends Component {
|
||||
return LinkButton.component({
|
||||
className: 'Button Navigation-back Button--icon',
|
||||
href: history.backUrl(),
|
||||
icon: 'chevron-left',
|
||||
icon: 'fa fa-chevron-left',
|
||||
title: previous.title,
|
||||
config: () => {},
|
||||
onclick: e => {
|
||||
@ -77,7 +77,7 @@ export default class Navigation extends Component {
|
||||
return Button.component({
|
||||
className: 'Button Button--icon Navigation-pin' + (pane.pinned ? ' active' : ''),
|
||||
onclick: pane.togglePinned.bind(pane),
|
||||
icon: 'thumb-tack'
|
||||
icon: 'fa fa-thumbtack'
|
||||
});
|
||||
}
|
||||
|
||||
@ -100,7 +100,7 @@ export default class Navigation extends Component {
|
||||
e.stopPropagation();
|
||||
drawer.show();
|
||||
},
|
||||
icon: 'reorder'
|
||||
icon: 'fa fa-bars'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user