Skip to content

Commit

Permalink
fix: add size and color to the badge
Browse files Browse the repository at this point in the history
  • Loading branch information
Katrin-kudryash committed Aug 16, 2023
1 parent bd89f2c commit ef66b60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Badge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ const StyledBadge = styled.div<{ size: BadgeProps['size']; color?: BadgeProps['c
padding: 2px 8px;
`,
l: `
padding: 6px 12px;
padding: 3px 12px;
`,
xl: `
padding: 7px 16px;
padding: 4px 16px;
`,
}[size]}
Expand Down

0 comments on commit ef66b60

Please sign in to comment.