Skip to content

Commit

Permalink
fix: button width
Browse files Browse the repository at this point in the history
  • Loading branch information
CraftyDragon678 committed Nov 9, 2020
1 parent c2382da commit 6cbc928
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ interface IButton {
}

const getWidth = (size?: TButtonSize) => (
!size || size === "medium" ? "100px"
: size === "long" ? "140px"
!size || size === "medium" ? "140px"
: size === "long" ? "260px"
: size === "short" ? "70px"
: `${size}px`
);
Expand Down

0 comments on commit 6cbc928

Please sign in to comment.