Spaces:
Runtime error
Runtime error
微调theme
Browse files
theme.py
CHANGED
|
@@ -107,20 +107,20 @@ advanced_css = """
|
|
| 107 |
/* 对话气泡 */
|
| 108 |
[class *= "message"] {
|
| 109 |
border-radius: var(--radius-xl) !important;
|
| 110 |
-
padding: var(--spacing-xl) !important;
|
| 111 |
-
font-size: var(--text-md) !important;
|
| 112 |
-
line-height: var(--line-md) !important;
|
| 113 |
-
min-height: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl));
|
| 114 |
-
min-width: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl));
|
| 115 |
}
|
| 116 |
[data-testid = "bot"] {
|
| 117 |
-
max-width:
|
| 118 |
-
width: auto !important;
|
| 119 |
border-bottom-left-radius: 0 !important;
|
| 120 |
}
|
| 121 |
[data-testid = "user"] {
|
| 122 |
-
max-width:
|
| 123 |
-
width: auto !important;
|
| 124 |
border-bottom-right-radius: 0 !important;
|
| 125 |
}
|
| 126 |
/* 行内代码 */
|
|
|
|
| 107 |
/* 对话气泡 */
|
| 108 |
[class *= "message"] {
|
| 109 |
border-radius: var(--radius-xl) !important;
|
| 110 |
+
/* padding: var(--spacing-xl) !important; */
|
| 111 |
+
/* font-size: var(--text-md) !important; */
|
| 112 |
+
/* line-height: var(--line-md) !important; */
|
| 113 |
+
/* min-height: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl)); */
|
| 114 |
+
/* min-width: calc(var(--text-md)*var(--line-md) + 2*var(--spacing-xl)); */
|
| 115 |
}
|
| 116 |
[data-testid = "bot"] {
|
| 117 |
+
max-width: 95%;
|
| 118 |
+
/* width: auto !important; */
|
| 119 |
border-bottom-left-radius: 0 !important;
|
| 120 |
}
|
| 121 |
[data-testid = "user"] {
|
| 122 |
+
max-width: 100%;
|
| 123 |
+
/* width: auto !important; */
|
| 124 |
border-bottom-right-radius: 0 !important;
|
| 125 |
}
|
| 126 |
/* 行内代码 */
|