aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/icon.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/@next/components/icon.tsx')
-rw-r--r--packages/website/ts/@next/components/icon.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/website/ts/@next/components/icon.tsx b/packages/website/ts/@next/components/icon.tsx
index 1199efe3f..61f8f8f6f 100644
--- a/packages/website/ts/@next/components/icon.tsx
+++ b/packages/website/ts/@next/components/icon.tsx
@@ -43,7 +43,7 @@ const _getSize = (size: string | number = 'small'): string => {
const StyledIcon = styled.figure`
width: ${props => _getSize(props.size)};
height: ${props => _getSize(props.size)};
- margin: 0;
+ margin: ${props => getCSSPadding(props.margin)};
flex-shrink: 0;
svg {