FIX: apply fa-fw on class instead of icon name

This commit is contained in:
Joffrey JAFFEUX 2018-04-12 10:56:32 +02:00 committed by GitHub
parent 6e46f81123
commit deab0486fa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 11 additions and 11 deletions

View File

@ -18,8 +18,8 @@ export default ComboBoxComponent.extend({
noCategoriesLabel: I18n.t("categories.no_subcategory"),
mutateAttributes() {},
fullWidthOnMobile: true,
caretDownIcon: "caret-right fa-fw",
caretUpIcon: "caret-down fa-fw",
caretDownIcon: "caret-right",
caretUpIcon: "caret-down",
init() {
this._super();

View File

@ -7,8 +7,8 @@ export default SingleSelectComponent.extend({
autoFilterable: true,
headerComponent: "combo-box/combo-box-header",
caretUpIcon: "caret-up fa-fw",
caretDownIcon: "caret-down fa-fw",
caretUpIcon: "caret-up",
caretDownIcon: "caret-down",
clearable: false,
computeHeaderContent() {

View File

@ -7,8 +7,8 @@ export default ComboBoxComponent.extend({
classNames: "group-dropdown",
content: Ember.computed.alias("groups"),
tagName: "li",
caretDownIcon: "caret-right fa-fw",
caretUpIcon: "caret-down fa-fw",
caretDownIcon: "caret-right",
caretUpIcon: "caret-down",
allowAutoSelectFirst: false,
valueAttribute: 'name',

View File

@ -19,8 +19,8 @@ export default ComboBoxComponent.extend({
categoryStyle: Ember.computed.alias("siteSettings.category_style"),
mutateAttributes() {},
fullWidthOnMobile: true,
caretDownIcon: "caret-right fa-fw",
caretUpIcon: "caret-down fa-fw",
caretDownIcon: "caret-right",
caretUpIcon: "caret-down",
@computed("tagId")
noTagsSelected() {

View File

@ -2,4 +2,4 @@
{{{label}}}
</span>
{{d-icon caretIcon class="caret-icon"}}
{{d-icon caretIcon class="caret-icon fa-fw"}}

View File

@ -10,4 +10,4 @@
</button>
{{/if}}
{{d-icon caretIcon class="caret-icon"}}
{{d-icon caretIcon class="caret-icon fa-fw"}}

View File

@ -2,4 +2,4 @@
{{{label}}}
</span>
{{d-icon caretIcon class="caret-icon"}}
{{d-icon caretIcon class="caret-icon fa-fw"}}