Update app.py
Browse files
app.py
CHANGED
|
@@ -218,6 +218,7 @@ with gr.Blocks(css="""
|
|
| 218 |
max-width: 100% !important;
|
| 219 |
padding: 0 8px !important;
|
| 220 |
}
|
|
|
|
| 221 |
#chatbox .avatar-container {
|
| 222 |
width: 48px !important;
|
| 223 |
height: 48px !important;
|
|
@@ -248,6 +249,25 @@ with gr.Blocks(css="""
|
|
| 248 |
text-align: left !important;
|
| 249 |
}
|
| 250 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 251 |
#chatbox .message.assistant { background-color: #ffffff !important; }
|
| 252 |
footer { display: none !important; }
|
| 253 |
.svelte-1ipelgc { display: none !important; }
|
|
|
|
| 218 |
max-width: 100% !important;
|
| 219 |
padding: 0 8px !important;
|
| 220 |
}
|
| 221 |
+
|
| 222 |
#chatbox .avatar-container {
|
| 223 |
width: 48px !important;
|
| 224 |
height: 48px !important;
|
|
|
|
| 249 |
text-align: left !important;
|
| 250 |
}
|
| 251 |
|
| 252 |
+
/* 缩小聊天区域整体边距 */
|
| 253 |
+
#chatbox {
|
| 254 |
+
padding: 0px !important;
|
| 255 |
+
margin: 0px !important;
|
| 256 |
+
}
|
| 257 |
+
|
| 258 |
+
/* 缩小 Blocks(整个页面)容器的内外边距 */
|
| 259 |
+
.gr-block.gr-box {
|
| 260 |
+
padding: 0px !important;
|
| 261 |
+
margin: 0px !important;
|
| 262 |
+
box-shadow: none !important; /* 可选:移除阴影 */
|
| 263 |
+
}
|
| 264 |
+
|
| 265 |
+
/* 整个页面留白压缩(如果你还想再缩) */
|
| 266 |
+
body, html {
|
| 267 |
+
padding: 0px !important;
|
| 268 |
+
margin: 0px !important;
|
| 269 |
+
}
|
| 270 |
+
|
| 271 |
#chatbox .message.assistant { background-color: #ffffff !important; }
|
| 272 |
footer { display: none !important; }
|
| 273 |
.svelte-1ipelgc { display: none !important; }
|