DEV: Move some autocomplete input styling to SCSS (#8381)

This commit is contained in:
Penar Musaraj
2019-11-20 12:32:00 -05:00
committed by GitHub
parent b8e5208162
commit 797045f5a9
3 changed files with 8 additions and 3 deletions

View File

@@ -212,11 +212,9 @@ export default function(options) {
}
if (options.single && !options.width) {
this.css("width", "100%");
this.attr("class", `${this.attr("class")} fullwidth-input`);
} else if (options.width) {
this.css("width", options.width);
} else {
this.width(150);
}
this.attr(

View File

@@ -437,6 +437,9 @@ div.ac-wrap {
margin: 0;
background: transparent;
min-height: unset;
&.fullwidth-input {
width: 100%;
}
}
}

View File

@@ -15,6 +15,10 @@
width: 404px;
}
.item + #private-message-users {
width: 150px;
}
.select-kit.is-expanded {
z-index: z("composer", "dropdown") + 1;
}