Wanswan commited on
Commit
d594baf
·
verified ·
1 Parent(s): 7b69a0b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -25
app.py CHANGED
@@ -248,34 +248,22 @@ with gr.Blocks(css="""
248
  background-color: #DCF8C6 !important;
249
  text-align: left !important;
250
  }
251
- /* 聊天界面周边边距去除 */
252
- #chatbox {
253
- margin: 0px !important;
254
- padding: 0px !important;
255
- }
256
-
257
- /* 整体 Blocks 容器的内外边距移除 */
258
- .gr-box, .gr-block.gr-box {
259
- margin: 0px !important;
260
- padding: 0px !important;
261
- border: none !important;
262
- box-shadow: none !important;
263
- }
264
-
265
- /* 页面顶层结构的边距压掉 */
266
  .wrap, .gr-container {
267
- padding: 0px !important;
268
- margin: 0px auto !important;
269
- max-width: 100% !important;
270
- width: 100% !important;
271
- box-shadow: none !important;
272
- border: none !important;
 
 
 
273
  }
274
-
275
- /* 页面的 body 和 html 去掉默认边距 */
276
  body, html {
277
- margin: 0px !important;
278
- padding: 0px !important;
 
 
279
  }
280
 
281
 
 
248
  background-color: #DCF8C6 !important;
249
  text-align: left !important;
250
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
  .wrap, .gr-container {
252
+ max-width: 100vw !important;
253
+ width: 100vw !important;
254
+ padding: 0 !important;
255
+ margin: 0 !important;
256
+ }
257
+ .gradio-container {
258
+ padding: 0 !important;
259
+ margin: 0 !important;
260
+ width: 100vw !important;
261
  }
 
 
262
  body, html {
263
+ margin: 0 !important;
264
+ padding: 0 !important;
265
+ width: 100vw !important;
266
+ overflow-x: hidden !important;
267
  }
268
 
269