Prevent move to new topic tag input from becoming too wide on click

This commit is contained in:
Kris
2018-09-20 16:12:08 -04:00
parent 3e17ef0507
commit 5f042a2c8d
3 changed files with 4 additions and 2 deletions

View File

@ -39,7 +39,7 @@ export default SelectKitComponent.extend({
@on("didRender")
_setChoicesMaxWidth() {
const width = this.$body().outerWidth(false);
this.$(".choices").css({ maxWidth: width, width });
this.$(".choices").css({ maxWidth: width });
},
@on("didReceiveAttrs")