Update app.py
Browse files
app.py
CHANGED
|
@@ -249,14 +249,14 @@ html, body, .gradio-container, #root, .main, .wrap, .prose, .gr-box {
|
|
| 249 |
/* ✅ 聊天气泡最大宽度和排版优化 */
|
| 250 |
#chatbox .message {
|
| 251 |
display: inline-block !important;
|
| 252 |
-
max-width: 90vw !important; /* 最多不超过屏幕宽度 */
|
| 253 |
-
width: auto !important; /* ← 自动适应内容宽度 */
|
| 254 |
-
min-width: 10ch !important; /* ← 避免太窄,10个字符左右 */
|
| 255 |
font-size: 16px !important;
|
| 256 |
line-height: 1.6em !important;
|
| 257 |
-
|
|
|
|
|
|
|
| 258 |
border-radius: 12px !important;
|
| 259 |
word-break: break-word !important;
|
|
|
|
| 260 |
white-space: normal !important;
|
| 261 |
}
|
| 262 |
|
|
|
|
| 249 |
/* ✅ 聊天气泡最大宽度和排版优化 */
|
| 250 |
#chatbox .message {
|
| 251 |
display: inline-block !important;
|
|
|
|
|
|
|
|
|
|
| 252 |
font-size: 16px !important;
|
| 253 |
line-height: 1.6em !important;
|
| 254 |
+
min-width: 10ch !important;
|
| 255 |
+
max-width: 90% !important;
|
| 256 |
+
padding: 6px 12px !important;
|
| 257 |
border-radius: 12px !important;
|
| 258 |
word-break: break-word !important;
|
| 259 |
+
word-wrap: break-word !important;
|
| 260 |
white-space: normal !important;
|
| 261 |
}
|
| 262 |
|