From ea8b71626ddd86da1c30cb09427a81f6068be47c Mon Sep 17 00:00:00 2001 From: Yulong Ruan Date: Fri, 27 Sep 2024 08:47:51 +0800 Subject: [PATCH] fix discover input background not shrink (#8331) * fix discover input background not shrink Signed-off-by: Yulong Ruan * Changeset file for PR #8331 created/updated --------- Signed-off-by: Yulong Ruan Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> --- changelogs/fragments/8331.yml | 2 ++ src/plugins/data/public/ui/query_editor/_query_editor.scss | 1 + 2 files changed, 3 insertions(+) create mode 100644 changelogs/fragments/8331.yml 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;