malte-wessel/react-textfit

REM units for max/min values?

jnazander opened this issue · 1 comments

Right now it only supports absolute pixels for max/min values. But this is problematic, as my webapp (and most modern webapps) set all sizes in REM units, which makes websites responsive to different display sizes. Having to set absolute pixels for this component only makes the text go out of proportions with the rest of the webapp.

Is it possible to allow setting min/max values in rem units?

Same Issue. This would be super helpful.