微调theme
This commit is contained in:
parent
34f4ba211d
commit
16de1812d3
18
theme.py
18
theme.py
@ -107,20 +107,20 @@ advanced_css = """
|
|||||||
/* 对话气泡 */
|
/* 对话气泡 */
|
||||||
[class *= "message"] {
|
[class *= "message"] {
|
||||||
border-radius: var(--radius-xl) !important;
|
border-radius: var(--radius-xl) !important;
|
||||||
padding: var(--spacing-xl) !important;
|
/* padding: var(--spacing-xl) !important; */
|
||||||
font-size: var(--text-md) !important;
|
/* font-size: var(--text-md) !important; */
|
||||||
line-height: var(--line-md) !important;
|
/* line-height: var(--line-md) !important; */
|
||||||
min-height: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl));
|
/* 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));
|
/* min-width: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl)); */
|
||||||
}
|
}
|
||||||
[data-testid = "bot"] {
|
[data-testid = "bot"] {
|
||||||
max-width: 85%;
|
max-width: 95%;
|
||||||
width: auto !important;
|
/* width: auto !important; */
|
||||||
border-bottom-left-radius: 0 !important;
|
border-bottom-left-radius: 0 !important;
|
||||||
}
|
}
|
||||||
[data-testid = "user"] {
|
[data-testid = "user"] {
|
||||||
max-width: 85%;
|
max-width: 100%;
|
||||||
width: auto !important;
|
/* width: auto !important; */
|
||||||
border-bottom-right-radius: 0 !important;
|
border-bottom-right-radius: 0 !important;
|
||||||
}
|
}
|
||||||
/* 行内代码 */
|
/* 行内代码 */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user