From 5125279e4e15aee649b156d7bbbe64937acb8793 Mon Sep 17 00:00:00 2001 From: Coen Warmer Date: Wed, 10 Dec 2025 09:51:35 +0100 Subject: [PATCH 1/2] Adjust styling --- .../stream_list_view/tree_table.tsx | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/x-pack/platform/plugins/shared/streams_app/public/components/stream_list_view/tree_table.tsx b/x-pack/platform/plugins/shared/streams_app/public/components/stream_list_view/tree_table.tsx index 7e930dd290d46..471cac48dc3b6 100644 --- a/x-pack/platform/plugins/shared/streams_app/public/components/stream_list_view/tree_table.tsx +++ b/x-pack/platform/plugins/shared/streams_app/public/components/stream_list_view/tree_table.tsx @@ -53,9 +53,8 @@ import { import { DiscoverBadgeButton } from '../stream_badges'; const datePickerStyle = css` - .euiFormControlLayout { - height: 40px; - } + .euiFormControlLayout, + .euiSuperDatePicker button, .euiButton { height: 40px; } @@ -270,17 +269,9 @@ export function StreamsTreeTable({ data-test-subj={`${isCollapsed ? 'expand' : 'collapse'}Button-${ item.stream.name }`} - aria-label={i18n.translate( - isCollapsed - ? 'xpack.streams.streamsTreeTable.collapsedNodeAriaLabel' - : 'xpack.streams.streamsTreeTable.expandedNodeAriaLabel', - { - defaultMessage: isCollapsed - ? 'Collapsed node with {childCount} children' - : 'Expanded node with {childCount} children', - values: { childCount: item.children.length }, - } - )} + aria-label={i18n.translate('xpack.streams.streamsTreeTable.', { + defaultMessage: '', + })} onClick={(e: React.MouseEvent) => { handleToggleCollapse(item.stream.name); }} From fc6336ab4051c302a9b46f87f412181251ba61cc Mon Sep 17 00:00:00 2001 From: Coen Warmer Date: Wed, 10 Dec 2025 10:11:34 +0100 Subject: [PATCH 2/2] Revert unintended autofix --- .../components/stream_list_view/tree_table.tsx | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/x-pack/platform/plugins/shared/streams_app/public/components/stream_list_view/tree_table.tsx b/x-pack/platform/plugins/shared/streams_app/public/components/stream_list_view/tree_table.tsx index 471cac48dc3b6..57fd5bc934a2c 100644 --- a/x-pack/platform/plugins/shared/streams_app/public/components/stream_list_view/tree_table.tsx +++ b/x-pack/platform/plugins/shared/streams_app/public/components/stream_list_view/tree_table.tsx @@ -269,9 +269,17 @@ export function StreamsTreeTable({ data-test-subj={`${isCollapsed ? 'expand' : 'collapse'}Button-${ item.stream.name }`} - aria-label={i18n.translate('xpack.streams.streamsTreeTable.', { - defaultMessage: '', - })} + aria-label={i18n.translate( + isCollapsed + ? 'xpack.streams.streamsTreeTable.collapsedNodeAriaLabel' + : 'xpack.streams.streamsTreeTable.expandedNodeAriaLabel', + { + defaultMessage: isCollapsed + ? 'Collapsed node with {childCount} children' + : 'Expanded node with {childCount} children', + values: { childCount: item.children.length }, + } + )} onClick={(e: React.MouseEvent) => { handleToggleCollapse(item.stream.name); }}