react-styled-flexboxgrid
react-styled-flexboxgrid copied to clipboard
Cannot replace `em` or `rem` with `px`
I really think that you should add an alternative field to specify the unit for widths:
containerUnits: 'px'
And allow the xs md
etc properties to accept pixels
Hi @TomSaporitoXO Thanks for your first issue ever on Github ;)
Yep... maybe. But rem
and em
are well supported by modern browsers: https://caniuse.com/#feat=rem
I suggest you try to implement it and submit a pull request. We'll be able to discuss about that.
My main issue with it is how to do with percentage. For example, if i happen to have a padding in one div, then all the number in rem
seems just stop working properly.