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 4f9c2b7919c56..21fa43a98f708 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,11 @@ 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; + } } .kbnQueryBar__textarea { @@ -43,12 +48,8 @@ overflow-x: auto; overflow-y: auto; white-space: normal; - max-height: calc(80vh - 100px); - } - - &.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..5a17eb26a2d99 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 @@ -796,10 +796,11 @@ export default class QueryStringInputUI extends PureComponent {prependElement}