Skip to content
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

change button size responsively #251

Open
JacobZwang opened this issue Oct 29, 2022 · 0 comments
Open

change button size responsively #251

JacobZwang opened this issue Oct 29, 2022 · 0 comments

Comments

@JacobZwang
Copy link

Is your feature request related to a problem? Please describe.
It's common for buttons to be smaller on desktop than on mobile, yet we can't set the size property on buttons based on screen size.

Describe the solution you'd like
Allow changing size of buttons responsively like <Button size={{md: "sm"}}></Button>.

Describe alternatives you've considered
Manually styling button to be different on mobile.

Additional context
Should you be able to adjust all properties responsively even if they are tied to javascript values and not purely css?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant