Wanswan commited on
Commit
140e060
·
verified ·
1 Parent(s): 785c0e1

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -0
app.py CHANGED
@@ -196,6 +196,19 @@ footer { display: none !important; }
196
  label.svelte-1to105q {
197
  display: none !important;
198
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
199
  """) as demo:
200
  gr.HTML("""
201
  <script>
 
196
  label.svelte-1to105q {
197
  display: none !important;
198
  }
199
+ /* === 页面全屏显示聊天窗口(不显示外部滚动条) === */
200
+ html, body {
201
+ margin: 0 !important;
202
+ padding: 0 !important;
203
+ height: 100% !important;
204
+ overflow: hidden !important;
205
+ }
206
+
207
+ #chatbox {
208
+ height: calc(100vh - 100px) !important; /* 根据页面实际内容调整偏移 */
209
+ overflow-y: auto !important;
210
+ }
211
+
212
  """) as demo:
213
  gr.HTML("""
214
  <script>