diff --git a/app/assets/stylesheets/common/base/code_highlighting.scss b/app/assets/stylesheets/common/base/code_highlighting.scss index 548f14dc9bc..4e25b53ad26 100644 --- a/app/assets/stylesheets/common/base/code_highlighting.scss +++ b/app/assets/stylesheets/common/base/code_highlighting.scss @@ -19,7 +19,7 @@ code { color: var(--primary-very-high); background: var(--hljs-bg); border-radius: var(--d-button-border-radius); - font-size: 14px; + font-size: 0.875em; line-height: calc((13 + 4) / 13); } @@ -29,15 +29,6 @@ pre > code { max-height: 500px; } -h1 code, -h2 code, -h3 code, -h4 code, -h5 code, -h6 code { - font-size: inherit; -} - .hljs-comment, .hljs-doctag, .hljs-code,