From 1b34574c37d468ac704ce64aa9c9917b0bf56d46 Mon Sep 17 00:00:00 2001 From: David Sanchez Soler Date: Fri, 3 Jun 2022 11:13:18 +0200 Subject: [PATCH] Adds js comment on custom css style --- .../management/components/policy_response/policy_response.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/plugins/security_solution/public/management/components/policy_response/policy_response.tsx b/x-pack/plugins/security_solution/public/management/components/policy_response/policy_response.tsx index 27b6284d0d2e3..b468dce0a5b48 100644 --- a/x-pack/plugins/security_solution/public/management/components/policy_response/policy_response.tsx +++ b/x-pack/plugins/security_solution/public/management/components/policy_response/policy_response.tsx @@ -35,6 +35,7 @@ const StyledEuiTreeView = styled(EuiTreeView)` max-height: none !important; .policy-response-action-expanded + div { .euiTreeView__node { + // When response action item displays a callout, this needs to be overwritten to remove the default max height of EuiTreeView max-height: none !important; padding-top: ${({ theme }) => theme.eui.paddingSizes.s}; padding-bottom: ${({ theme }) => theme.eui.paddingSizes.s};