mui / material-ui

Material UI: Comprehensive React component library that implements Google's Material Design. Free forever.
https://mui.com/material-ui/
MIT License
93.52k stars 32.19k forks source link

Use 'em' instead of 'px' #248

Closed jiangzhu78 closed 9 years ago

jiangzhu78 commented 9 years ago

The style in material-ui is really nice, I'm currently trying to integrate in to my new project. However one thing I found cause problem is that material-ui is using 'px' every where which make it hard to support different use-cases and different devices.

I currently workaround by override all 'px' variables in my project.

Suggest:

cobbweb commented 9 years ago

Someone already raised an issue suggesting to use rem units, which would be a better option IMO.

hai-cea commented 9 years ago

Thanks for the input @jiangzhu78

Dup of #234

FranBran commented 6 years ago

Input.js still uses px instead of rems for its padding