Skip to content

Commit

Permalink
panel border
Browse files Browse the repository at this point in the history
  • Loading branch information
darnautov committed Jun 13, 2023
1 parent bacdda5 commit 5241992
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,14 @@ export const CollapsiblePanel: FC<CollapsiblePanelProps> = ({
) : null}
</EuiFlexGroup>
</EuiSplitPanel.Inner>
{isOpen ? <EuiSplitPanel.Inner grow={false}>{children}</EuiSplitPanel.Inner> : null}
{isOpen ? (
<EuiSplitPanel.Inner
css={{ borderTop: `${euiTheme.euiBorderWidthThin} solid ${euiTheme.euiBorderColor}` }}
grow={false}
>
{children}
</EuiSplitPanel.Inner>
) : null}
</EuiSplitPanel.Outer>
);
};
Expand Down

0 comments on commit 5241992

Please sign in to comment.