适配白色模式,字体不再发灰

This commit is contained in:
w_xiaolizu
2023-05-26 16:36:58 +08:00
parent 360da3f8c2
commit c8dbd66bca

View File

@ -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;