From 01265c5934ef7d6e0f0ea78aad0d73f3ea34b491 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 2 Apr 2023 20:02:47 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BE=AE=E8=B0=83theme?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- theme.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/theme.py b/theme.py index f5fd02a..06d377d 100644 --- a/theme.py +++ b/theme.py @@ -107,20 +107,20 @@ advanced_css = """ /* 对话气泡 */ [class *= "message"] { border-radius: var(--radius-xl) !important; - padding: var(--spacing-xl) !important; - font-size: var(--text-md) !important; - line-height: var(--line-md) !important; - min-height: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl)); - min-width: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl)); + /* padding: var(--spacing-xl) !important; */ + /* font-size: var(--text-md) !important; */ + /* line-height: var(--line-md) !important; */ + /* min-height: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl)); */ + /* min-width: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl)); */ } [data-testid = "bot"] { - max-width: 85%; - width: auto !important; + max-width: 95%; + /* width: auto !important; */ border-bottom-left-radius: 0 !important; } [data-testid = "user"] { - max-width: 85%; - width: auto !important; + max-width: 100%; + /* width: auto !important; */ border-bottom-right-radius: 0 !important; } /* 行内代码 */