Wanswan commited on
Commit
1eb4c30
·
verified ·
1 Parent(s): 829fa32

Update app.py

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