From c8dbd66bca440a68df15af52b27ae5cdcd63633f Mon Sep 17 00:00:00 2001 From: w_xiaolizu Date: Fri, 26 May 2023 16:36:58 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=82=E9=85=8D=E7=99=BD=E8=89=B2=E6=A8=A1?= =?UTF-8?q?=E5=BC=8F=EF=BC=8C=E5=AD=97=E4=BD=93=E4=B8=8D=E5=86=8D=E5=8F=91?= =?UTF-8?q?=E7=81=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- theme.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/theme.py b/theme.py index 8070cfa..59ad48f 100644 --- a/theme.py +++ b/theme.py @@ -136,6 +136,14 @@ advanced_css = """ /* min-width: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl)); */ } [data-testid = "bot"] { + max-width: 95%; + letter-spacing: 0.5px; + font-weight: normal; + /* width: auto !important; */ + border-bottom-left-radius: 0 !important; +} + +.dark [data-testid = "bot"] { max-width: 95%; color: #ccd2db !important; letter-spacing: 0.5px; @@ -143,6 +151,7 @@ advanced_css = """ /* width: auto !important; */ border-bottom-left-radius: 0 !important; } + [data-testid = "user"] { max-width: 100%; letter-spacing: 0.5px;