Skip to content

Commit

Permalink
fix: fix padding on button
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-mesnil committed May 29, 2019
1 parent 387e5f7 commit ec62fc7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions src/components/Growl/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ export const CloseContent = styled.button`
display: flex;
align-items: center;
justify-content: center;
width: ${get('space.xl')};
height: ${get('space.xl')};
width: 1.87rem;
height: 1.87rem;
${getCss('growls.close')};
border: none;
padding: 0;
transition: background ${get('transitions.medium')};
`

Expand Down
3 changes: 2 additions & 1 deletion src/components/Icon/doc.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@ import { Icon } from './index'

## Size

Use size property with `sm` `md` `lg` or `xl`.
Use size property with `xs`, `sm`, `md`, `lg` or `xl`.

<Playground>
<Icon name="twitter" size="xs" />
<Icon name="twitter" size="sm" />
<Icon name="twitter" size="md" />
<Icon name="twitter" size="lg" />
Expand Down
2 changes: 1 addition & 1 deletion src/theme/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const getBaseTheme = (options = {}) => {
}

theme.icons = {
xs: 10,
xs: 12,
sm: 16,
md: 24,
lg: 32,
Expand Down

0 comments on commit ec62fc7

Please sign in to comment.