Skip to content

Commit

Permalink
refactor: use px instead of rem for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
dohaki committed Nov 1, 2023
1 parent 8bbf31f commit 854274e
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions src/components/Button/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,29 +33,29 @@ const sizeMap: Record<
}
> = {
lg: {
fontSize: "1.125rem",
lineHeight: "1.625rem",
height: "4rem",
padding: "0rem 2.5rem",
gap: "0.25rem",
fontSize: "18px",
lineHeight: "26px",
height: "64px",
padding: "0px 40px",
gap: "4px",
borderRadius: "32px",
mobileSize: "md",
},
md: {
fontSize: "1rem",
lineHeight: "1.25rem",
height: "2.5rem",
padding: "0rem 1.25rem",
gap: "0.375rem",
fontSize: "16px",
lineHeight: "20px",
height: "40px",
padding: "0px 20px",
gap: "6px",
borderRadius: "20px",
mobileSize: "sm",
},
sm: {
fontSize: "0.875rem",
lineHeight: "1.125rem",
height: "2.5rem",
padding: "0rem 1rem 0.0625rem 1rem",
gap: "0.25rem",
fontSize: "14px",
lineHeight: "18px",
height: "40px",
padding: "0px 16px 1px 16px",
gap: "4px",
borderRadius: "20px",
mobileSize: "sm",
},
Expand Down

0 comments on commit 854274e

Please sign in to comment.