From 1f21d36593f72cd518ad6850609a202d3fdf7ec5 Mon Sep 17 00:00:00 2001 From: Ievgen Sorokopud Date: Mon, 6 Mar 2023 16:28:04 +0100 Subject: [PATCH] [Security Solution]Rule preview when returns zero value it overlaps the No results match your search criteria banner (#151869) ## Summary Issue #151262 These changes fixes broken empty preview results state on smaller screens. Bug: Screenshot 2023-02-22 at 15 24 06 Fix: Screenshot 2023-02-22 at 15 23 25 --- .../public/common/components/events_viewer/index.tsx | 2 +- .../public/common/components/events_viewer/shared/index.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx b/x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx index 30ba9db8c033e..ce6db3c16bde7 100644 --- a/x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx +++ b/x-pack/plugins/security_solution/public/common/components/events_viewer/index.tsx @@ -556,7 +556,7 @@ const StatefulEventsViewerComponent: React.FC - {!hasAlerts && !loading && !graphOverlay && } + {!hasAlerts && !loading && !graphOverlay && } {hasAlerts && ( = ({ height = 'tall' }) => { +export const EmptyTable: React.FC = () => { const { http } = useKibana().services; return ( - +