From d78fa6c7d8e3bf226c8d85e3ce8dc28d4ff3235b Mon Sep 17 00:00:00 2001 From: Orhan Toy Date: Tue, 19 Oct 2021 18:48:52 +0200 Subject: [PATCH] [App Search, Crawler] Fix validation step panel padding/whitespace (#115542) * Remove padding override * Move spacer to before action --- .../components/add_domain/validation_step_panel.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.tsx b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.tsx index dc19b526714a5..6e93fc1f74bb1 100644 --- a/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.tsx +++ b/x-pack/plugins/enterprise_search/public/applications/app_search/components/crawler/components/add_domain/validation_step_panel.tsx @@ -33,14 +33,9 @@ export const ValidationStepPanel: React.FC = ({ action, }) => { const showErrorMessage = step.state === 'invalid' || step.state === 'warning'; - const styleOverride = showErrorMessage ? { paddingBottom: 0 } : {}; return ( - + @@ -59,8 +54,8 @@ export const ValidationStepPanel: React.FC = ({ {action && ( <> + {action} - )}