From c30287abcfdc3cf0d8dc05773abd08d6d6e8bc9f Mon Sep 17 00:00:00 2001 From: "opensearch-trigger-bot[bot]" <98922864+opensearch-trigger-bot[bot]@users.noreply.github.com> Date: Sun, 21 Jul 2024 17:03:18 -0700 Subject: [PATCH] fix: Fix wrapping of labels in filter by type popover (#7327) (#7345) * fix: Fix wrapping of labels in filter by type popover --------- (cherry picked from commit 376ead0ce1ef5224476604e48aa487354fbb0387) Signed-off-by: Viraj Sanghvi Signed-off-by: github-actions[bot] Co-authored-by: github-actions[bot] Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com> --- changelogs/fragments/7327.yml | 2 ++ .../data_explorer/public/components/sidebar/index.scss | 4 ++++ .../application/components/sidebar/discover_field_search.tsx | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 changelogs/fragments/7327.yml diff --git a/changelogs/fragments/7327.yml b/changelogs/fragments/7327.yml new file mode 100644 index 00000000000..da4ffa48076 --- /dev/null +++ b/changelogs/fragments/7327.yml @@ -0,0 +1,2 @@ +fix: +- Fix wrapping of labels in filter by type popover ([#7327](https://github.com/opensearch-project/OpenSearch-Dashboards/pull/7327)) \ No newline at end of file diff --git a/src/plugins/data_explorer/public/components/sidebar/index.scss b/src/plugins/data_explorer/public/components/sidebar/index.scss index 6d8ad2324bc..1828568bc36 100644 --- a/src/plugins/data_explorer/public/components/sidebar/index.scss +++ b/src/plugins/data_explorer/public/components/sidebar/index.scss @@ -7,3 +7,7 @@ border-bottom: $euiBorderThin !important; } } + +.dataPanelTypeFilterPopover { + min-width: 300px; +} diff --git a/src/plugins/discover/public/application/components/sidebar/discover_field_search.tsx b/src/plugins/discover/public/application/components/sidebar/discover_field_search.tsx index 4b50c44b323..ec4bc5f2896 100644 --- a/src/plugins/discover/public/application/components/sidebar/discover_field_search.tsx +++ b/src/plugins/discover/public/application/components/sidebar/discover_field_search.tsx @@ -258,7 +258,7 @@ export function DiscoverFieldSearch({ onChange, value, types }: Props) {