website: add lineHeight prop to CodeBlock, use relative values

Default 1.85 (~22px at 12px font), reduced to 1.5 for ASCII diagram.
Updated editorial-prism.css base to match.
This commit is contained in:
Tommy D. Rossi
2026-02-21 11:09:22 +01:00
parent 8871a3f36f
commit 1b98de0660
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ pre[class*="language-"] {
font-size: 12px;
font-weight: 500;
letter-spacing: 0.02em;
line-height: 24px;
line-height: 1.85;
text-align: left;
white-space: pre;
word-spacing: normal;