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

fix(typography): prevent monospace Code and Span from pixel shifting line heights #1023

Merged
merged 5 commits into from
Mar 1, 2021

Conversation

jzempel
Copy link
Member

@jzempel jzempel commented Feb 27, 2021

Description

Reduce monospace line-height by 1px or set to normal when typography is inherited.

Detail

https://stackoverflow.com/a/8395743

Checklist

  • πŸ‘Œ design updates are Garden Designer approved (add the
    designer as a reviewer)
  • 🌐 demo is up-to-date (yarn start)
  • ⬅️ renders as expected with reversed (RTL) direction
  • 🀘 renders as expected with Bedrock CSS (?bedrock)
  • β™Ώ analyzed via axe and evaluated using VoiceOver
  • πŸ’‚β€β™‚οΈ includes new unit tests
  • πŸ“ tested in Chrome, Firefox, Safari, Edge, and IE11

@coveralls
Copy link

Coverage Status

Coverage remained the same at 95.632% when pulling 4c73572 on jzempel/code-shift into 1ff5ae7 on main.

@zendesk-garden zendesk-garden temporarily deployed to staging February 27, 2021 20:58 Inactive
@jzempel jzempel merged commit ce56c63 into main Mar 1, 2021
@jzempel jzempel deleted the jzempel/code-shift branch March 1, 2021 16:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

5 participants