Skip to content

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

Select-kit dropdown fix

Kris486d7f2e5df1
diff --git a/app/assets/stylesheets/common/select-kit/dropdown-select-box.scss b/app/assets/stylesheets/common/select-kit/dropdown-select-box.scss
index b8aa95a1ca8..c9198c23364 100644
--- a/app/assets/stylesheets/common/select-kit/dropdown-select-box.scss
+++ b/app/assets/stylesheets/common/select-kit/dropdown-select-box.scss
@@ -56,7 +56,7 @@
line-height: $line-height-large;
-webkit-box-flex: 1;
-ms-flex: 1;
- flex: 1 0 auto;
+ flex: 1 1 0%;
-webkit-box-align: start;
-ms-flex-align: start;
align-items: flex-start;
@@ -73,7 +73,7 @@
.name {
-webkit-box-flex: 1;
-ms-flex: 1;
- flex: 1 0 auto;
+ flex: 1 1 0%;
font-weight: bold;
font-size: $font-0;
color: $primary;
@@ -87,7 +87,7 @@
.desc {
-webkit-box-flex: 1;
-ms-flex: 1;
- flex: 1 0 auto;
+ flex: 1 1 0%;
width: 100%; //IE11
font-size: $font-down-1;
font-weight: normal;
diff --git a/app/assets/stylesheets/common/select-kit/select-kit.scss b/app/assets/stylesheets/common/select-kit/select-kit.scss
index 9bc8816130f..6f7120d78b6 100644
--- a/app/assets/stylesheets/common/select-kit/select-kit.scss
+++ b/app/assets/stylesheets/common/select-kit/select-kit.scss
@@ -131,7 +131,7 @@
margin: 0;
overflow: hidden;
text-overflow: ellipsis;
- flex: 1 0 auto;
+ flex: 1 1 0%;
}
.d-icon {