Skip to content

Commit

Permalink
[BUG]fix suggestion list cutoff issue
Browse files Browse the repository at this point in the history
In this PR, we fixed the suggestion list cutoff in an easy way.
We replace 250px width to auto min-width to allow browser to
select a width for specific element.

However, we might have longer input that can't fit into the search.
We definitely need more feedbacks on the cutoff behavior.

Issue resolved:
#2555

Signed-off-by: Anan Zhuang <[email protected]>
  • Loading branch information
ananzh committed Oct 18, 2022
1 parent e3e7605 commit 84f5db8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/data/public/ui/typeahead/_suggestion.scss
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ $osdTypeaheadTypes: (
flex-grow: 0; /* 2 */
flex-basis: auto; /* 2 */
font-family: $euiCodeFontFamily;
width: 250px;
min-width: auto;
overflow: hidden;
text-overflow: ellipsis;
padding: $euiSizeXS $euiSizeS;
Expand Down

0 comments on commit 84f5db8

Please sign in to comment.