From 45b53fe6fee909dbf6a24e6ee067d420c27202ff Mon Sep 17 00:00:00 2001 From: "opencode-agent[bot]" <219766164+opencode-agent[bot]@users.noreply.github.com> Date: Tue, 27 Oct 2026 23:02:12 +0000 Subject: [PATCH] fix(changelog): keep line breaks in code blocks (#59762) Co-authored-by: Hona <10430890+Hona@users.noreply.github.com> --- services/changelog/src/style.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/changelog/src/style.ts b/services/changelog/src/style.ts index 6e526aaa580..f80e661300b 100644 --- a/services/changelog/src/style.ts +++ b/services/changelog/src/style.ts @@ -118,6 +118,8 @@ main a:hover { color: var(--ink-strong); text-decoration-color: var(--underline- .markdown li::before { content: "\\2013"; position: absolute; left: 0; color: var(--ink-weaker); } main code { font-family: var(--mono); font-size: 0.83em; font-variant-numeric: lining-nums tabular-nums; color: var(--ink-code); white-space: nowrap; } +main pre { margin: 0 0 12px; overflow-x: auto; } +main pre code { white-space: pre; } main strong { font-weight: 600; } .notice { font-size: 20px; line-height: 1.65; color: var(--ink-weak); }