-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Labels
browser-renderingIssues where there is an incompatibility between how browser renders the UI and how ReactUnity doesIssues where there is an incompatibility between how browser renders the UI and how ReactUnity does
Milestone
Description
The rem scaling is not as in the web browsers. Generally, the text is too big in ReactUnity.
I will discuss the following text with the only variable as font-size.
<span style="font-size: medium;">Go to src/index.tsx to edit this file</span>
font-size: medium is computed as 1rem which is equal to 16px.
In ReactUnity while using UGUI it's computed as 24px which is too big compared to Chrome.
When manually changed to proper 16px they look almost identical.
Metadata
Metadata
Assignees
Labels
browser-renderingIssues where there is an incompatibility between how browser renders the UI and how ReactUnity doesIssues where there is an incompatibility between how browser renders the UI and how ReactUnity does