Skip to content

Commit

Permalink
fix(button): inherit page font properties
Browse files Browse the repository at this point in the history
  • Loading branch information
vickonrails committed May 28, 2021
1 parent 30e5d50 commit cb16f12
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions .versionrc.json
Expand Up @@ -2,7 +2,6 @@
"types": [
{ "type": "feat", "section": "Features" },
{ "type": "fix", "section": "Bug Fixes" },
{ "type": "refactor", "section": "Refactors" },
{ "type": "chore", "section": "Chores" }
{ "type": "refactor", "section": "Refactors" }
]
}
1 change: 1 addition & 0 deletions src/components/button/button.tsx
Expand Up @@ -102,6 +102,7 @@ const BaseButton = ({ shape, size, loading, disabled }: ButtonProps) =>
shape &&
css`
padding: 0.5em 0.8em;
font: inherit;
font-size: ${size === 'sm' ? '14px' : `inherit`};
cursor: pointer;
border: none;
Expand Down

0 comments on commit cb16f12

Please sign in to comment.