FIX: improves and fixes a regression with category-selector (#9821)
This commit is contained in:
parent
96848b7649
commit
cfad38184d
|
@ -43,6 +43,10 @@ export default MultiSelectComponent.extend({
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
modifyComponentForRow() {
|
||||||
|
return "category-row";
|
||||||
|
},
|
||||||
|
|
||||||
actions: {
|
actions: {
|
||||||
onChange(values) {
|
onChange(values) {
|
||||||
this.attrs.onChange(
|
this.attrs.onChange(
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
|
<div {{action "onSelectedNameClick"}} tabindex="0" title={{title}} data-value={{value}} data-name={{name}} class="select-kit-selected-name selected-name choice">
|
||||||
<div class="body">
|
<div class="body">
|
||||||
{{badge}}
|
{{badge}}
|
||||||
{{d-icon "times"}}
|
{{d-icon "times"}}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
|
|
|
@ -9,5 +9,13 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.category-row {
|
||||||
|
max-width: 100%;
|
||||||
|
|
||||||
|
.topic-count {
|
||||||
|
margin-left: 0.25em;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue