Add dropdown li truncation with ellipsis

Display the full text on hover by expanding the list item
container.
This commit is contained in:
gconsidine
2017-04-18 11:57:17 -04:00
parent 7dd69a36d8
commit da0a721a2d

View File

@@ -343,7 +343,6 @@
.select2-results__option{
color: @field-label !important;
height: 30px!important;
}
.select2-container--default .select2-results__option--highlighted[aria-selected]{
@@ -630,3 +629,15 @@ input[type='radio']:checked:before {
.alert-info--noTextTransform {
text-transform: none;
}
.select2-results__option {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.select2-results__option:hover {
overflow-wrap: break-word;
white-space: normal;
}