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

Include -webkit-text-size-adjust: 100% for html #25

Closed
kripod opened this issue May 23, 2023 · 1 comment
Closed

Include -webkit-text-size-adjust: 100% for html #25

kripod opened this issue May 23, 2023 · 1 comment

Comments

@kripod
Copy link
Contributor

kripod commented May 23, 2023

As explained by this article, the following snippet normalizes text size in landscape orientation on iOS – it’s required even in the latest stable version:

html {
  -webkit-text-size-adjust: 100%;
}

I’d suggest this snippet to be added to normalize.css (not just opinionated.css), as it makes text rendering consistent across platforms.

@romainmenke
Copy link
Member

I agree, it is also already present in sanitize.css : https://github.com/csstools/sanitize.css/blob/092d0d85922bfa72d28e9e8d25d80a5437c8df44/sanitize.css#L33-L44

I've applied this and released it in v12.1.0

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

No branches or pull requests

2 participants