From e9891a9e3292e6755113164edd7c1d8dbb4648de Mon Sep 17 00:00:00 2001 From: MariaAga Date: Mon, 24 Jun 2024 09:25:48 +0100 Subject: [PATCH] Fixes #37578 - remove space between button in generic table --- .../PF4/TableIndexPage/TableIndexPage.js | 22 ++++++++++--------- 1 file changed, 12 insertions(+), 10 deletions(-) diff --git a/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/TableIndexPage.js b/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/TableIndexPage.js index 0a5c04e3d4f..0c0c85f2448 100644 --- a/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/TableIndexPage.js +++ b/webpack/assets/javascripts/react_app/components/PF4/TableIndexPage/TableIndexPage.js @@ -222,7 +222,10 @@ const TableIndexPage = ({ {searchable && ( - + {selectionToolbar} )} - {actionButtons.length > 0 && ( + {(customToolbarItems || actionButtons.length > 0) && ( - - - + {actionButtons.length > 0 && ( + + + + )} + {customToolbarItems && customToolbarItems} )} - - {customToolbarItems && ( - {customToolbarItems} - )} - {total > 0 && (