FIX: improves and fixes a regression with category-selector (#9821)

This commit is contained in:
Joffrey JAFFEUX 2020-05-18 17:44:47 +02:00 committed by GitHub
parent 96848b7649
commit cfad38184d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 17 additions and 3 deletions

View File

@ -43,6 +43,10 @@ export default MultiSelectComponent.extend({
); );
}, },
modifyComponentForRow() {
return "category-row";
},
actions: { actions: {
onChange(values) { onChange(values) {
this.attrs.onChange( this.attrs.onChange(

View File

@ -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>

View File

@ -9,5 +9,13 @@
} }
} }
} }
.category-row {
max-width: 100%;
.topic-count {
margin-left: 0.25em;
}
}
} }
} }