diff --git a/src/markdown/code.scss b/src/markdown/code.scss index 5ed6a6c39f..cd26409dd9 100644 --- a/src/markdown/code.scss +++ b/src/markdown/code.scss @@ -19,12 +19,15 @@ pre { word-wrap: normal; + code { + // stylelint-disable-next-line primer/typography + font-size: 100%; + } + // Code tags within code blocks (
s)
     > code {
       padding: 0;
       margin: 0;
-      // stylelint-disable-next-line primer/typography
-      font-size: 100%;
       word-break: normal;
       white-space: pre;
       background: transparent;