-
Notifications
You must be signed in to change notification settings - Fork 0
Adding sizing options for button component #32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
packages/button/lib/index.tsx
Outdated
| minWidth: "3rem", | ||
| fontSize: "0.75rem", | ||
| }, | ||
|
|
||
| [ButtonSizes.MEDIUM]: { | ||
| height: "2rem", | ||
| minWidth: "4rem", | ||
| fontSize: "1rem", | ||
| }, | ||
|
|
||
| [ButtonSizes.LARGE]: { | ||
| height: "3rem", | ||
| minWidth: "6rem", | ||
| fontSize: "1.5rem", | ||
| }, | ||
|
|
||
| [ButtonSizes.XLARGE]: { | ||
| height: "4rem", | ||
| minWidth: "8rem", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We probably shouldn't have a minWidth.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed, please check again.
clearfeld
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WHy are you removing full width???
|
Very dumb mistake by me. Added back in full width and removed minWidth lol |
No description provided.