Skip to content

Commit

Permalink
render code at 100% font size irregardless of direct descension
Browse files Browse the repository at this point in the history
  • Loading branch information
joelhawksley committed Aug 4, 2021
1 parent f8a589f commit 71e6e97
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/markdown/code.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@
pre {
word-wrap: normal;

code {
// stylelint-disable-next-line primer/typography
font-size: 100%;
}

// Code tags within code blocks (<pre>s)
> code {
padding: 0;
margin: 0;
// stylelint-disable-next-line primer/typography
font-size: 100%;
word-break: normal;
white-space: pre;
background: transparent;
Expand Down

0 comments on commit 71e6e97

Please sign in to comment.