Skip to content

Conversation

colebemis
Copy link
Contributor

Problem

The font size of code examples is not consistent on mobile browsers. In some code examples the font size is much too large.

Solution

This pull request adjusts the way that font-size is applied to code examples. Now, the font size is the same in all code examples across all browsers. I'm guessing the issue might have been a weird inheritance bug.

Before After
IMG_5322

@colebemis colebemis requested a review from shawnbot September 5, 2019 17:31
@vercel
Copy link

vercel bot commented Sep 5, 2019

This pull request is automatically deployed with Now.
To access deployments, click Details below or on the icon next to each push.

Latest deployment for this branch: https://doctocat-git-fix-code-font-size.primer.now.sh

@colebemis colebemis changed the title Fix code example font size on mobile. Fix code example font size on mobile Sep 5, 2019
Copy link
Contributor

@shawnbot shawnbot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch!

@colebemis colebemis changed the base branch from master to release-0.14.2 September 5, 2019 22:53
@colebemis colebemis merged commit e4116aa into release-0.14.2 Sep 5, 2019
@colebemis colebemis mentioned this pull request Sep 5, 2019
2 tasks
@colebemis colebemis deleted the fix-code-font-size branch September 5, 2019 22:59
colebemis added a commit that referenced this pull request Sep 6, 2019
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.

2 participants