From cabfad29155030b701a1739ad0e7a3affe48aa73 Mon Sep 17 00:00:00 2001 From: Ryland Herrick Date: Thu, 16 Jan 2025 14:04:56 -0600 Subject: [PATCH] Fix/limit scoping of accordion styles These styles (particularly the box-shadow) were being incorrectly applied to all child elements, which caused the inner Comments accordion to be styled incorrectly. I failed to catch this when it was introduced in #178023. --- .../public/exceptions/components/exceptions_list_card/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/solutions/security/plugins/security_solution/public/exceptions/components/exceptions_list_card/index.tsx b/x-pack/solutions/security/plugins/security_solution/public/exceptions/components/exceptions_list_card/index.tsx index c084a84b3784f..c4d1f90be09d2 100644 --- a/x-pack/solutions/security/plugins/security_solution/public/exceptions/components/exceptions_list_card/index.tsx +++ b/x-pack/solutions/security/plugins/security_solution/public/exceptions/components/exceptions_list_card/index.tsx @@ -102,7 +102,7 @@ export const ExceptionsListCard = memo( flex: 1 1 auto; cursor: pointer; } - .euiAccordion__triggerWrapper { + > .euiAccordion__triggerWrapper { z-index: 100; position: relative; border-radius: ${euiTheme.border.radius.medium};