You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 15, 2022. It is now read-only.
em as a unit of measurement is a less modern "font size" unit of measurement. Many frameworks (such as the 4.0.0 bootstrap) try to use "rem" (root em) instead, which does a proportional size compared to a single root size (for use in scaling the UI of an app, usually in @media queries). Other applications might use em, or pt, or any other measurement.
I think an apt change would be to:
Change the default to "0.7rem". Right now, 0.7em is quite large for any app that does both mobile and desktop.
Allow the labelSize prop to accept a unit attached such as "12px", "12pt", "12em" (or a labelSizeUnit prop)
As with the other issue, might try and tackle this myself, making issue for reference.
Also, I'm not sure if this is a bug, but "labelSize" PR seemed to only edit files in dist/ not the files in src/ but I'm not sure if that is intentional or not.
The text was updated successfully, but these errors were encountered:
em
as a unit of measurement is a less modern "font size" unit of measurement. Many frameworks (such as the 4.0.0 bootstrap) try to use "rem" (root em) instead, which does a proportional size compared to a single root size (for use in scaling the UI of an app, usually in @media queries). Other applications might use em, or pt, or any other measurement.I think an apt change would be to:
As with the other issue, might try and tackle this myself, making issue for reference.
Also, I'm not sure if this is a bug, but "labelSize" PR seemed to only edit files in
dist/
not the files insrc/
but I'm not sure if that is intentional or not.The text was updated successfully, but these errors were encountered: