Update app.py
Browse files
app.py
CHANGED
|
@@ -239,25 +239,27 @@ footer { display: none !important; }
|
|
| 239 |
label.svelte-1to105q {
|
| 240 |
display: none !important;
|
| 241 |
}
|
| 242 |
-
/*
|
| 243 |
-
.
|
| 244 |
max-width: 100vw !important;
|
| 245 |
width: 100vw !important;
|
|
|
|
| 246 |
margin: 0 !important;
|
| 247 |
padding: 0 !important;
|
| 248 |
-
box-
|
| 249 |
-
border: none !important;
|
| 250 |
}
|
| 251 |
|
| 252 |
-
/*
|
| 253 |
#chatbox .message {
|
| 254 |
-
font-size:
|
| 255 |
line-height: 1.4em !important;
|
|
|
|
| 256 |
padding: 8px 12px !important;
|
| 257 |
-
|
| 258 |
word-break: break-word !important;
|
| 259 |
white-space: normal !important;
|
| 260 |
}
|
|
|
|
| 261 |
@media screen and (max-width: 768px) {
|
| 262 |
#chatbox .message {
|
| 263 |
font-size: 13px !important;
|
|
|
|
| 239 |
label.svelte-1to105q {
|
| 240 |
display: none !important;
|
| 241 |
}
|
| 242 |
+
/* 💥 强制让所有 Gradio 容器撑满屏幕宽度 */
|
| 243 |
+
html, body, #root, .main, .prose, .block, .wrap, .gradio-container, .gr-box, .gr-container, .gr-block.gr-box {
|
| 244 |
max-width: 100vw !important;
|
| 245 |
width: 100vw !important;
|
| 246 |
+
min-width: 100vw !important;
|
| 247 |
margin: 0 !important;
|
| 248 |
padding: 0 !important;
|
| 249 |
+
box-sizing: border-box !important;
|
|
|
|
| 250 |
}
|
| 251 |
|
| 252 |
+
/* ✅ 聊天气泡样式调整 */
|
| 253 |
#chatbox .message {
|
| 254 |
+
font-size: 14px !important;
|
| 255 |
line-height: 1.4em !important;
|
| 256 |
+
max-width: 94% !important;
|
| 257 |
padding: 8px 12px !important;
|
| 258 |
+
border-radius: 12px !important;
|
| 259 |
word-break: break-word !important;
|
| 260 |
white-space: normal !important;
|
| 261 |
}
|
| 262 |
+
|
| 263 |
@media screen and (max-width: 768px) {
|
| 264 |
#chatbox .message {
|
| 265 |
font-size: 13px !important;
|