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: {
|
||||
onChange(values) {
|
||||
this.attrs.onChange(
|
||||
|
|
|
@ -1,4 +1,6 @@
|
|||
<div class="body">
|
||||
{{badge}}
|
||||
{{d-icon "times"}}
|
||||
<div {{action "onSelectedNameClick"}} tabindex="0" title={{title}} data-value={{value}} data-name={{name}} class="select-kit-selected-name selected-name choice">
|
||||
<div class="body">
|
||||
{{badge}}
|
||||
{{d-icon "times"}}
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -9,5 +9,13 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.category-row {
|
||||
max-width: 100%;
|
||||
|
||||
.topic-count {
|
||||
margin-left: 0.25em;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue