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

Gmail on iOS forces a minimum line-height #96

Open
M-J-Robbins opened this issue Jul 27, 2021 · 0 comments
Open

Gmail on iOS forces a minimum line-height #96

M-J-Robbins opened this issue Jul 27, 2021 · 0 comments
Labels
Gmail Webmail, iOS and Android apps

Comments

@M-J-Robbins
Copy link
Contributor

If setting line-height to a value less than the current font-size gmail will change it to line-height:normal;

So line-height:1, line-height:1em, line-height:100% all work as expected

However line-height:0.9, line-height:0.9em, line-height:99%, will all get converted to line-height:normal;

Same works for px values.
So font-size:20px; line-height:19px won't work
But font-size:19px; line-height:19px will work

@hteumeuleu hteumeuleu added the Gmail Webmail, iOS and Android apps label Jul 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Gmail Webmail, iOS and Android apps
Projects
None yet
Development

No branches or pull requests

2 participants