mirror of
https://github.com/flarum/core.git
synced 2025-08-06 16:36:47 +02:00
chore: avoid using .fa()
mixins and @fa-var
vars (#3912)
This commit is contained in:
@@ -338,7 +338,10 @@ export default class Composer extends Component {
|
||||
items.add(
|
||||
'minimize',
|
||||
<ComposerButton
|
||||
icon="fas fa-minus minimize"
|
||||
icon={classList('fas minimize', {
|
||||
'fa-minus': app.screen() !== 'phone',
|
||||
'fa-times': app.screen() === 'phone',
|
||||
})}
|
||||
title={app.translator.trans('core.forum.composer.minimize_tooltip')}
|
||||
onclick={this.state.minimize.bind(this.state)}
|
||||
itemClassName="App-backControl"
|
||||
|
@@ -145,6 +145,7 @@ export default class Search<T extends SearchAttrs = SearchAttrs> extends Compone
|
||||
})}
|
||||
>
|
||||
<div className="Search-input">
|
||||
<Icon name="fas fa-search Search-input-icon" />
|
||||
<input
|
||||
aria-label={searchLabel}
|
||||
className="FormControl"
|
||||
|
Reference in New Issue
Block a user