Skip to content

Commit

Permalink
Tweak button sizes.
Browse files Browse the repository at this point in the history
  • Loading branch information
toddriley committed Oct 2, 2023
1 parent 8570815 commit 34e0518
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions docs/src/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,10 @@ export function Button({
className={clsx([
"flex",
isWide ? "w-[154px]" : "w-[44px]",
isWide ? "h-[35px]" : "h-[23px]",
"justify-center",
"rounded-md",
"items-center",
isWide ? "rounded-[10px]" : "rounded-[4px]",
"border",
"border-2",
"border-black",
Expand All @@ -30,14 +32,16 @@ export function Button({
isDepressed ? "shadow-none" : "shadow-button",
isWide ? "text-[22px]" : "text-[14px]",
isWide ? "tablet:w-[154px]" : "tablet:w-[73px]",
"tablet:h-[35px]",
"tablet:text-[22px]",
"tablet:border-[3px]",
"tablet:rounded-lg",
"tablet:rounded-[10px]",
isDepressed ? "shadow-none" : "tablet:shadow-button-tablet",
isWide ? "desktop:w-[232px]" : "desktop:w-[110px]",
"desktop:h-[53px]",
"desktop:text-[34px]",
"desktop:border-[4px]",
"desktop:rounded-xl",
"desktop:rounded-[16px]",
])}
>
{text}
Expand Down

0 comments on commit 34e0518

Please sign in to comment.