Skip to content

Commit

Permalink
Remove filter bar field text trimming (#38971) (#39501)
Browse files Browse the repository at this point in the history
By adaption of scss files, long values autosuggested to the user like URIs are no longer trimmed at 250px

Co-authored-by: Caroline Horn <549577+cchaos@users.noreply.github.com>
  • Loading branch information
kertal and cchaos committed Jun 24, 2019
1 parent f4c3c17 commit f3fdf9e
Showing 1 changed file with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ $kbnTypeaheadTypes: (

.kbnSuggestionItem__type {
flex-grow: 0;
flex-shrink: 0;
flex-basis: auto;
width: $euiSizeXL;
height: $euiSizeXL;
Expand All @@ -134,18 +135,24 @@ $kbnTypeaheadTypes: (
flex-grow: 0; /* 2 */
flex-basis: auto; /* 2 */
font-family: $euiCodeFontFamily;
margin-right: $euiSizeXL;
width: 250px;
overflow: hidden;
text-overflow: ellipsis;
padding: $euiSizeXS $euiSizeS;
color: $euiTextColor;
}


.kbnSuggestionItem__description {
color: $euiColorDarkShade;
overflow: hidden;
text-overflow: ellipsis;
margin-left: $euiSizeXL;

&:empty {
flex-grow: 0;
margin-left:0;
}
}

.kbnSuggestionItem__callout {
Expand All @@ -155,3 +162,8 @@ $kbnTypeaheadTypes: (
padding: 0 $euiSizeXS;
display: inline-block;
}

.kbnSuggestionItem--value .kbnSuggestionItem__text {
flex-basis: 50%;
flex-grow: 1;
}

0 comments on commit f3fdf9e

Please sign in to comment.