Skip to content

Commit

Permalink
Merge pull request #350 from jonathanhefner/code-snippets-nested-font…
Browse files Browse the repository at this point in the history
…-size

Fix font size of nested code elements
  • Loading branch information
jonathanhefner authored Dec 24, 2023
2 parents 49ad362 + 9f28b14 commit d6374a6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/rdoc/generator/template/rails/resources/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,11 @@ body {

pre, code, .kind {
font-family: var(--monospace-font);
font-size: .95em;
font-size: 0.95em;
}

:where(pre, code, .kind) > :is(pre, code, .kind) {
font-size: unset;
}

.kind::after {
Expand Down

0 comments on commit d6374a6

Please sign in to comment.