Skip to content

Commit

Permalink
[Unified Observability] Fix shadow for overview panels (#128878) (#12…
Browse files Browse the repository at this point in the history
…9172)

* replace shadow with border for overview panels

* remove not needed prop

(cherry picked from commit f9d83f9)

Co-authored-by: Ester Martí Vilaseca <[email protected]>
  • Loading branch information
kibanamachine and estermv authored Apr 1, 2022
1 parent 33de589 commit bc9fbd8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export function SectionContainer({
}: Props) {
const { http } = useKibana<ObservabilityAppServices>().services;
return (
<EuiPanel hasShadow={true} color="subdued">
<EuiPanel color="subdued">
<EuiAccordion
initialIsOpen
id={title}
Expand Down Expand Up @@ -79,7 +79,7 @@ export function SectionContainer({
>
<>
<EuiSpacer size="s" />
<EuiPanel hasShadow={true}>{hasError ? <ErrorPanel /> : <>{children}</>}</EuiPanel>
<EuiPanel hasBorder={true}>{hasError ? <ErrorPanel /> : <>{children}</>}</EuiPanel>
</>
</EuiAccordion>
</EuiPanel>
Expand Down

0 comments on commit bc9fbd8

Please sign in to comment.