diff --git a/changelogs/fragments/8331.yml b/changelogs/fragments/8331.yml new file mode 100644 index 000000000000..127f61d5eb3c --- /dev/null +++ b/changelogs/fragments/8331.yml @@ -0,0 +1,2 @@ +fix: +- Discover query input background not shrink when window resize ([#8331](/~https://github.com/opensearch-project/OpenSearch-Dashboards/pull/8331)) \ No newline at end of file diff --git a/src/plugins/data/public/ui/query_editor/_query_editor.scss b/src/plugins/data/public/ui/query_editor/_query_editor.scss index 79a453d7b21d..a970a970853b 100644 --- a/src/plugins/data/public/ui/query_editor/_query_editor.scss +++ b/src/plugins/data/public/ui/query_editor/_query_editor.scss @@ -189,6 +189,7 @@ padding: calc($euiSizeXS + 1px); background-color: $euiColorEmptyShade; overflow: initial !important; // needed for suggestion window, otherwise will be hidden in child + min-width: 0; .monaco-editor .view-overlays .current-line { border: none;