Skip to content

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

FIX: adds ellipsis on name of dropdown-select-box row

Joffrey JAFFEUX5fc2eadd099a
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 c229b004223..20345715ec1 100644
--- a/app/assets/stylesheets/common/select-kit/dropdown-select-box.scss
+++ b/app/assets/stylesheets/common/select-kit/dropdown-select-box.scss
@@ -51,6 +51,7 @@
}
.texts {
+ min-width: 0;
line-height: $line-height-large;
-webkit-box-flex: 1;
-ms-flex: 1;
@@ -76,6 +77,10 @@
font-size: $font-0;
color: $primary;
padding: 0;
+ overflow: hidden;
+ text-overflow: ellipsis;
+ white-space: nowrap;
+ max-width: 100%;
}
.desc {