Skip to content

Commit

Permalink
use padding instead of margin
Browse files Browse the repository at this point in the history
  • Loading branch information
gergoabraham committed Oct 5, 2022
1 parent 42ce7b0 commit 50d0017
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ export const EndpointPolicyCreateMultiStepExtension = memo(() => {
</EuiText>
);

const marginSize = `calc(${size.m} + ${size.l})`;

return (
<EuiPanel hasShadow={false} paddingSize="l">
<EuiSpacer size="xl" />
Expand All @@ -109,8 +107,7 @@ export const EndpointPolicyCreateMultiStepExtension = memo(() => {

<EuiFlexGroup
css={css`
margin-bottom: ${marginSize};
margin-top: ${marginSize};
padding: ${size.xxxl} 0;
`}
>
<CenteredEuiFlexItem grow={false}>{securityLogo}</CenteredEuiFlexItem>
Expand Down

0 comments on commit 50d0017

Please sign in to comment.