mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 23:36:11 +08:00
Prevent move to new topic tag input from becoming too wide on click
This commit is contained in:
@ -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")
|
||||
|
Reference in New Issue
Block a user