From 77498a9b69a929127bffe0da4bf836862b53e8ba Mon Sep 17 00:00:00 2001 From: Karl Godard Date: Mon, 10 Apr 2023 10:10:23 -0700 Subject: [PATCH] Fix for k8s dashboard getting letterboxed when there is no data. (#154094) ## Summary Fixes an display issue with the k8s dashboard. Currently this page doesn't render an empty state like other pages do, and so I've removed it from the list of pages with "empty state" in order to avoid the whole page having a restricted width of ~960px. Before: ![image](https://user-images.githubusercontent.com/16198204/228934077-add3ecdf-2845-4714-98f2-e791133505e8.png) After: ![image](https://user-images.githubusercontent.com/16198204/228934155-f785c0b9-2fbc-4a04-9522-4eecdd5d2a6c.png) --- .../common/utils/empty_view/use_show_pages_with_empty_view.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/x-pack/plugins/security_solution/public/common/utils/empty_view/use_show_pages_with_empty_view.tsx b/x-pack/plugins/security_solution/public/common/utils/empty_view/use_show_pages_with_empty_view.tsx index 7f9688ef3c04..e9f54f8a9284 100644 --- a/x-pack/plugins/security_solution/public/common/utils/empty_view/use_show_pages_with_empty_view.tsx +++ b/x-pack/plugins/security_solution/public/common/utils/empty_view/use_show_pages_with_empty_view.tsx @@ -18,7 +18,6 @@ const isPageNameWithEmptyView = (currentName: string) => { SecurityPageName.timelines, SecurityPageName.overview, SecurityPageName.users, - SecurityPageName.kubernetes, ]; return pageNamesWithEmptyView.includes(currentName); };