Skip to content

[BUG] Text size wildly varying in alpha 6 #1170

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TheCarpetMerchant opened this issue Oct 18, 2022 · 1 comment · Fixed by #1173
Closed

[BUG] Text size wildly varying in alpha 6 #1170

TheCarpetMerchant opened this issue Oct 18, 2022 · 1 comment · Fixed by #1173
Labels
bug Something isn't working high-priority
Milestone

Comments

@TheCarpetMerchant
Copy link

I cannot reproduce the issue, but got screenshots of users with text that's either way too big for some, or way too small for others, in the same widget.
It probably has to do with the breaking change regarding either :

  • FIX Updated default p and h1-6 styles to use em for better font scaling
  • FIX Improved fontSize inheritance when cascading styles

There's probably a default value gotten somewhere that can vary according to device or something else.

@TheCarpetMerchant TheCarpetMerchant added the bug Something isn't working label Oct 18, 2022
@Sub6Resources
Copy link
Owner

Sub6Resources commented Oct 19, 2022

Noted. I've recently seen this as well and identified the issue as a dependency on the device pixel density when calculating font sizes. This seems critical so I'll try to get it fixed asap. For now you can use alpha.5 or negate the issue by using a default font size that multiplies by the device's pixel density. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high-priority
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants