From 31eba7234a317d63c202500065ceed578ec19b87 Mon Sep 17 00:00:00 2001 From: sp mac bookpro 2605 Date: Wed, 22 Jul 2026 17:55:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B6=88=E6=81=AF=E5=86=85?= =?UTF-8?q?=E5=AE=B9=E4=B8=AD=E5=8D=95=E6=8D=A2=E8=A1=8C=E7=9A=84=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98=EF=BC=8C=E9=80=9A=E8=BF=87=E7=BB=84?= =?UTF-8?q?=E5=90=88=20white-space=20=E7=AD=96=E7=95=A5=E6=B6=88=E9=99=A4?= =?UTF-8?q?=E9=A2=9D=E5=A4=96=E7=A9=BA=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/styles.css | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/src/styles.css b/src/styles.css index 93a96fd..e073b40 100644 --- a/src/styles.css +++ b/src/styles.css @@ -762,7 +762,7 @@ body { display: inline-block; padding: 8px; border-radius: 14px; - white-space: pre-line; + white-space: normal; word-wrap: break-word; line-height: 1.5; font-size: 14.5px; @@ -794,14 +794,23 @@ body { .bubble.assistant h4, .bubble.assistant h5, .bubble.assistant h6, +.bubble.assistant li { + margin: 0; + white-space: pre-wrap; +} + .bubble.assistant ol, .bubble.assistant ul { margin: 0; padding-left: 1.5em; } -.bubble.assistant li { - margin: 0; +.bubble.assistant p { + margin-bottom: 4px; +} + +.bubble.assistant p:last-child { + margin-bottom: 0; } .bubble.assistant hr {