Skip to content
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

Add -webkit-text-size-adjust: 100%; to the scaffold theme #389

Merged
merged 2 commits into from May 17, 2024

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented May 3, 2024

https://developer.mozilla.org/en-US/docs/Web/CSS/text-size-adjust

The mobile Safari browser may apply a text inflation algorithm to enlarge the text to make it more readable. This is better from a view of readability, but it would not keep rendering reproducibillity across several devices.

In this pull request, I've added -webkit-text-size-adjust: 100%; to the scaffold CSS declarations. It will disable text inflation algorithm explicitly, and keep the original text size.

@yhatt yhatt merged commit efa3c3a into main May 17, 2024
5 checks passed
@yhatt yhatt deleted the webkit-text-size-adjust branch May 17, 2024 14:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant