Skip to content

Commit

Permalink
Fix/limit scoping of accordion styles
Browse files Browse the repository at this point in the history
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 elastic#178023.
  • Loading branch information
rylnd committed Jan 17, 2025
1 parent 70c1da3 commit cabfad2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export const ExceptionsListCard = memo<ExceptionsListCardProps>(
flex: 1 1 auto;
cursor: pointer;
}
.euiAccordion__triggerWrapper {
> .euiAccordion__triggerWrapper {
z-index: 100;
position: relative;
border-radius: ${euiTheme.border.radius.medium};
Expand Down

0 comments on commit cabfad2

Please sign in to comment.