From 50b0dd93368b4b814fd52791fe79a89f8cac9f77 Mon Sep 17 00:00:00 2001 From: JOJO <1498581755@qq.com> Date: Mon, 2 Feb 2026 18:34:07 +0800 Subject: [PATCH] fix: wrap chat text and align header fonts --- static/src/styles/components/chat/_chat-area.scss | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/static/src/styles/components/chat/_chat-area.scss b/static/src/styles/components/chat/_chat-area.scss index b314e53..4886882 100644 --- a/static/src/styles/components/chat/_chat-area.scss +++ b/static/src/styles/components/chat/_chat-area.scss @@ -50,6 +50,7 @@ font-size: 15px; line-height: 1.4; letter-spacing: 0.02em; + font-family: 'Iowan Old Style', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; max-width: 60%; color: #0f172a; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.12); @@ -144,8 +145,9 @@ box-shadow: none; color: #0f172a; font-weight: 600; - font-size: 14px; - line-height: 1; + font-size: 15px; + line-height: 1.35; + font-family: 'Iowan Old Style', ui-serif, Georgia, Cambria, "Times New Roman", Times, serif; cursor: pointer; transition: color 0.15s ease; } @@ -217,7 +219,7 @@ letter-spacing: 0.04em; text-transform: uppercase; color: rgba(15, 23, 42, 0.65); - padding: 2px 0; + padding: 2px 12px; } .dropdown-item { @@ -331,6 +333,8 @@ box-shadow: 0 12px 28px rgba(61, 57, 41, 0.08); color: var(--claude-text); white-space: pre-wrap; + word-break: break-word; + overflow-wrap: anywhere; } .user-message .message-text {