mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:30:26 -06:00
Prevent move to new topic tag input from becoming too wide on click
This commit is contained in:
parent
3e17ef0507
commit
5f042a2c8d
@ -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")
|
||||
|
@ -70,6 +70,7 @@
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
flex-wrap: wrap;
|
||||
width: 100%;
|
||||
|
||||
.choice {
|
||||
display: inline-flex;
|
||||
|
@ -139,10 +139,11 @@
|
||||
}
|
||||
|
||||
form {
|
||||
width: 95%;
|
||||
margin-top: 20px;
|
||||
#split-topic-name,
|
||||
#choose-topic-title {
|
||||
width: 520px;
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user