Skip to content

Commit

Permalink
fix(button): tweak margin of icon containers
Browse files Browse the repository at this point in the history
  • Loading branch information
wmangimelli committed Sep 3, 2020
1 parent c13e01c commit 7f85160
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/hs-react-ui/src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -133,13 +133,13 @@ const StyledFeedbackSVGContainer = styled(InteractionFeedback.SVGContainer)`

const LeftIconContainer = styled(IconContainer)`
${({ hasContent }: { hasContent: boolean }) => `
${hasContent ? 'margin-right: 1em;' : ''}
${hasContent ? 'margin-right: 0.75em;' : ''}
`}
`;

const RightIconContainer = styled(IconContainer)`
${({ hasContent }: { hasContent: boolean }) => `
${hasContent ? 'margin-left: 1em;' : ''}
${hasContent ? 'margin-left: 0.75em;' : ''}
`}
`;

Expand Down

0 comments on commit 7f85160

Please sign in to comment.