diff --git a/src/plugins/unified_search/public/query_string_input/query_string_input.scss b/src/plugins/unified_search/public/query_string_input/query_string_input.scss index a8642ae0f9846..46473af849c9b 100644 --- a/src/plugins/unified_search/public/query_string_input/query_string_input.scss +++ b/src/plugins/unified_search/public/query_string_input/query_string_input.scss @@ -15,6 +15,15 @@ overflow: visible !important; // Override EUI form control display: flex; flex: 1 1 100%; + + &--withSuggestionVisible .kbnQueryBar__textarea { + border-bottom-right-radius: 0; + border-bottom-left-radius: 0; + } + + >.euiFormControlLayoutIcons { + max-height: $euiFormControlHeight; + } } .kbnQueryBar__textarea { @@ -43,11 +52,8 @@ overflow-x: auto; overflow-y: auto; white-space: normal; - } - - &.kbnQueryBar__textarea--isSuggestionsVisible { - border-bottom-right-radius: 0; - border-bottom-left-radius: 0; + max-height: calc(35vh - 100px); + min-height: $euiFormControlHeight; } ~.euiFormControlLayoutIcons { diff --git a/src/plugins/unified_search/public/query_string_input/query_string_input.tsx b/src/plugins/unified_search/public/query_string_input/query_string_input.tsx index 2fc06e4aeaf53..2e3b0fab0a161 100644 --- a/src/plugins/unified_search/public/query_string_input/query_string_input.tsx +++ b/src/plugins/unified_search/public/query_string_input/query_string_input.tsx @@ -792,14 +792,15 @@ export default class QueryStringInputUI extends PureComponent {prependElement}