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 font size of nested code elements #350

Merged

Conversation

jonathanhefner
Copy link
Member

Prior to this commit, code blocks wrapped in <pre><code> had font-size: 0.95em applied twice, resulting in a font size of 0.9025em (e.g. 18.05px instead of 19px when the body font size is 20px). This commit fixes such elements to have the intended font size.

Before After
before after

Prior to this commit, code blocks wrapped in `<pre><code>` had
`font-size: 0.95em` applied twice, resulting in a font size of 0.9025em
(e.g. 18.05px instead of 19px when the body font size is 20px).  This
commit fixes such elements to have the intended font size.
@jonathanhefner jonathanhefner merged commit d6374a6 into rails:main Dec 24, 2023
9 checks passed
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.

1 participant