-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Request feature: Change from px to rem for Button #4605
Comments
Definitely, especially retina and when users zoom in / out. |
@tomscholz it looks more like an enhancement request |
@fega ;) You are right |
Hi Guys, |
@haojia321 depends This is not how it should be. According to specs on a scale of 12, 14, 16, 20 and 34. https://material.io/guidelines/style/typography.html#typography-typeface
|
So I think what we need to do is just change component from px to rem. We let user to set root font-size on their own? |
Hi Guys, Thanks |
It's very nice feature to have REMs instead of pixels for all components, meaning you don't have to state an explicit height, width, padding, etc, for every device. Simply set font-size on root level and have the whole component (and its nested elements) proportionally changed. Right now, form elements (like checkboxes, radios, etc) have fixed width and height. This is great for making site mobile friendly. |
Please consider changing unit from px to rem for Button and any other components.
It makes UI looking better in cross device applications.
The text was updated successfully, but these errors were encountered: