Skip to content

Commit

Permalink
fix: use correct padding for small buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
Silje Christensen committed Jun 22, 2023
1 parent cb31952 commit a054d29
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/button/src/component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,9 @@ export const Button = forwardRef<
[ccButton.buttonUtilityFlat]: utility && quiet,
// others
[ccButton.buttonSmall]: small,
[ccButton.buttonSmallOverride]: small && !(secondary || utility),
[ccButton.buttonUtility]: utility && !quiet,
[ccButton.buttonSmallUtility]: small && utility,
[ccButton.buttonLink]: link,
[ccButton.buttonPill]: pill,
[ccButton.buttonInProgress]: loading,
Expand Down

0 comments on commit a054d29

Please sign in to comment.