From ed2f4688be8ef28444e619e3b6f4720c0d4bf4b6 Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Tue, 31 Mar 2026 20:43:10 +0100 Subject: [PATCH] [#686] Fix CJK content overflowing ruled-paper container Add overflow-wrap, word-break, and overflow-x: hidden to .ruled-paper so Chinese/Japanese text wraps correctly without pushing sidebar off-screen. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/app/globals.css | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/globals.css b/src/app/globals.css index 8ce10920..022988d6 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -89,6 +89,9 @@ code, pre, .font-mono { background-position-y: calc(var(--line-height) * 2); box-shadow: 0 0 0.75rem rgba(0, 0, 0, 0.06); border-radius: 4px; + overflow-wrap: break-word; + word-break: break-word; + overflow-x: hidden; } @media (max-width: 640px) {