Skip to content

Commit f81243a

Browse files
author
Jakub Holak
committed
Fix box spacing to only margin-top;
1 parent 36743d6 commit f81243a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/box/Box.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,13 @@ const StyledBox = styled(Container)<BoxProps>`
6262
css`
6363
padding: ${theme.spacing[padding]};
6464
`}
65+
6566
${({ spacing }) =>
6667
spacing &&
6768
css`
68-
margin: ${theme.spacing[spacing]};
69+
margin-top: ${theme.spacing[spacing]};
6970
`}
71+
7072
${({ shadow }) =>
7173
shadow &&
7274
css`

0 commit comments

Comments
 (0)