Skip to content

A platform for community discussion. Free, open, simple.

UX: Don't set width to auto for select kit combo box.

Guo Xiang Tanc7b526b9e0cd
diff --git a/app/assets/stylesheets/common/select-kit/combo-box.scss b/app/assets/stylesheets/common/select-kit/combo-box.scss
index fa1c68c2d3d..0bb6b0aa758 100644
--- a/app/assets/stylesheets/common/select-kit/combo-box.scss
+++ b/app/assets/stylesheets/common/select-kit/combo-box.scss
@@ -1,11 +1,10 @@
.select-kit {
&.combo-box {
- min-width: auto;
.select-kit-body {
width: 100%;
min-width: 150px;
border-radius: 0;
- box-shadow: shadow("dropdown");
+ box-shadow: shadow("dropdown");
}
.select-kit-row {
@@ -25,10 +24,10 @@
.filter-input {
margin-right: 5px;
- width: auto;
+ width: auto;
}
}
-
+
.select-kit-header {
background: $secondary;
border: 1px solid $primary-medium;