From 5c1ef5d3328a74c07f4ac93d534efbbf89a52348 Mon Sep 17 00:00:00 2001 From: "Tommy D. Rossi" Date: Fri, 20 Feb 2026 23:04:00 +0100 Subject: [PATCH] website: increase code block line height from 18px to 24px --- website/src/components/markdown.tsx | 2 +- website/src/styles/editorial-prism.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/src/components/markdown.tsx b/website/src/components/markdown.tsx index c4a4609..b13f9a8 100644 --- a/website/src/components/markdown.tsx +++ b/website/src/components/markdown.tsx @@ -377,7 +377,7 @@ export function CodeBlock({ children, lang = "jsx" }: { children: string; lang?: fontFamily: "var(--font-code)", fontSize: "12px", fontWeight: 400, - lineHeight: "18px", + lineHeight: "24px", letterSpacing: "normal", color: "var(--text-primary)", tabSize: 2, diff --git a/website/src/styles/editorial-prism.css b/website/src/styles/editorial-prism.css index 567742c..a7df4fe 100644 --- a/website/src/styles/editorial-prism.css +++ b/website/src/styles/editorial-prism.css @@ -22,7 +22,7 @@ pre[class*="language-"] { font-size: 12px; font-weight: 500; letter-spacing: 0.02em; - line-height: 18px; + line-height: 24px; text-align: left; white-space: pre; word-spacing: normal;