Skip to content

Commit

Permalink
refactor(Button): increase paddings for small variants
Browse files Browse the repository at this point in the history
  • Loading branch information
kripod committed Jul 26, 2024
1 parent e6bda61 commit 58769e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/components/ButtonPrimary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const ButtonPrimary = forwardRef(function ButtonPrimary(
className,
"font-medium",
size === "xs" && "px-2",
size === "sm" && "px-2.5",
size === "sm" && "px-3",
size === "md" && "px-4",
size === "lg" && "px-6",
color === "neutral" &&
Expand Down
2 changes: 1 addition & 1 deletion src/components/ButtonSecondary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const ButtonSecondary = forwardRef(function ButtonSecondary(
className,
"font-medium",
size === "xs" && "px-2",
size === "sm" && "px-2.5",
size === "sm" && "px-3",
size === "md" && "px-4",
size === "lg" && "px-6",
color === "neutral" &&
Expand Down
2 changes: 1 addition & 1 deletion src/components/ButtonTertiary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const ButtonTertiary = forwardRef(function ButtonTertiary(
className,
"font-medium ring-1 ring-inset ring-ui-neutral-300",
size === "xs" && "px-2",
size === "sm" && "px-2.5",
size === "sm" && "px-3",
size === "md" && "px-4",
size === "lg" && "px-6",
color === "neutral" &&
Expand Down

0 comments on commit 58769e6

Please sign in to comment.