mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: apply fa-fw on class instead of icon name
This commit is contained in:
@@ -18,8 +18,8 @@ export default ComboBoxComponent.extend({
|
|||||||
noCategoriesLabel: I18n.t("categories.no_subcategory"),
|
noCategoriesLabel: I18n.t("categories.no_subcategory"),
|
||||||
mutateAttributes() {},
|
mutateAttributes() {},
|
||||||
fullWidthOnMobile: true,
|
fullWidthOnMobile: true,
|
||||||
caretDownIcon: "caret-right fa-fw",
|
caretDownIcon: "caret-right",
|
||||||
caretUpIcon: "caret-down fa-fw",
|
caretUpIcon: "caret-down",
|
||||||
|
|
||||||
init() {
|
init() {
|
||||||
this._super();
|
this._super();
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ export default SingleSelectComponent.extend({
|
|||||||
autoFilterable: true,
|
autoFilterable: true,
|
||||||
headerComponent: "combo-box/combo-box-header",
|
headerComponent: "combo-box/combo-box-header",
|
||||||
|
|
||||||
caretUpIcon: "caret-up fa-fw",
|
caretUpIcon: "caret-up",
|
||||||
caretDownIcon: "caret-down fa-fw",
|
caretDownIcon: "caret-down",
|
||||||
clearable: false,
|
clearable: false,
|
||||||
|
|
||||||
computeHeaderContent() {
|
computeHeaderContent() {
|
||||||
|
|||||||
@@ -7,8 +7,8 @@ export default ComboBoxComponent.extend({
|
|||||||
classNames: "group-dropdown",
|
classNames: "group-dropdown",
|
||||||
content: Ember.computed.alias("groups"),
|
content: Ember.computed.alias("groups"),
|
||||||
tagName: "li",
|
tagName: "li",
|
||||||
caretDownIcon: "caret-right fa-fw",
|
caretDownIcon: "caret-right",
|
||||||
caretUpIcon: "caret-down fa-fw",
|
caretUpIcon: "caret-down",
|
||||||
allowAutoSelectFirst: false,
|
allowAutoSelectFirst: false,
|
||||||
valueAttribute: 'name',
|
valueAttribute: 'name',
|
||||||
|
|
||||||
|
|||||||
@@ -19,8 +19,8 @@ export default ComboBoxComponent.extend({
|
|||||||
categoryStyle: Ember.computed.alias("siteSettings.category_style"),
|
categoryStyle: Ember.computed.alias("siteSettings.category_style"),
|
||||||
mutateAttributes() {},
|
mutateAttributes() {},
|
||||||
fullWidthOnMobile: true,
|
fullWidthOnMobile: true,
|
||||||
caretDownIcon: "caret-right fa-fw",
|
caretDownIcon: "caret-right",
|
||||||
caretUpIcon: "caret-down fa-fw",
|
caretUpIcon: "caret-down",
|
||||||
|
|
||||||
@computed("tagId")
|
@computed("tagId")
|
||||||
noTagsSelected() {
|
noTagsSelected() {
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
{{{label}}}
|
{{{label}}}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
{{d-icon caretIcon class="caret-icon"}}
|
{{d-icon caretIcon class="caret-icon fa-fw"}}
|
||||||
|
|||||||
@@ -10,4 +10,4 @@
|
|||||||
</button>
|
</button>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
|
|
||||||
{{d-icon caretIcon class="caret-icon"}}
|
{{d-icon caretIcon class="caret-icon fa-fw"}}
|
||||||
|
|||||||
@@ -2,4 +2,4 @@
|
|||||||
{{{label}}}
|
{{{label}}}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
{{d-icon caretIcon class="caret-icon"}}
|
{{d-icon caretIcon class="caret-icon fa-fw"}}
|
||||||
|
|||||||
Reference in New Issue
Block a user