Skip to content

Commit 37dea77

Browse files
MEIER-289: Fix inline code font-size to match body text (#79)
1 parent c06f386 commit 37dea77

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/src/App/input.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,9 @@
33
@plugin "@tailwindcss/forms";
44
@plugin "@tailwindcss/typography";
55
@custom-variant dark (&:where(.dark, .dark *));
6+
7+
/* Inline code: monospace fonts render larger at the same font-size,
8+
so scale down to visually match surrounding body text. */
9+
.prose :where(code):not(:where(pre *)) {
10+
font-size: 0.875em;
11+
}

0 commit comments

Comments
 (0)