Skip to content

[New Docs] Fix text size adjust for <pre> element in webkit browsers#7976

Merged
gaearon merged 1 commit intofacebook:new-docsfrom
ivanzotov:fix_adjust_font_size
Oct 14, 2016
Merged

[New Docs] Fix text size adjust for <pre> element in webkit browsers#7976
gaearon merged 1 commit intofacebook:new-docsfrom
ivanzotov:fix_adjust_font_size

Conversation

@ivanzotov
Copy link
Copy Markdown
Contributor

iOS Safari tries to adjust a font size of <pre> element if a length of a string is long, so the difference between font sizes looks strange:

screen shot 2016-10-14 at 4 09 10 pm

After this fix:

screen shot 2016-10-14 at 4 07 21 pm

@gaearon
Copy link
Copy Markdown
Collaborator

gaearon commented Oct 14, 2016

Looks good to me, thanks.

@gaearon gaearon merged commit 043511d into facebook:new-docs Oct 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants