Justxd22 commited on
Commit
dd8e8ec
·
1 Parent(s): 1e60a20

Fix height issue

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -451,7 +451,7 @@ def start_game_from_ui(case_name, mode, voice):
451
 
452
  css = """
453
  #bridge-input, #bridge-output, #log-input { display: none !important; }
454
- .gradio-container { padding: 0 !important; max-width: 100% !important; height: 100vh !important; display: flex; flex-direction: column; }
455
  #game-frame-container { flex-grow: 1; height: 100% !important; border: none; overflow: hidden; padding: 0; }
456
  #game-frame-container > .html-container { height: 100% !important; display: flex; flex-direction: column; }
457
  #game-frame-container .prose { flex-grow: 1; height: 100% !important; max-width: 100% !important; }
@@ -460,7 +460,7 @@ footer { display: none !important; }
460
  .gradio-container { overflow-y: auto !important; }
461
  """
462
 
463
- with gr.Blocks(title="Murder.Ai", fill_height=True) as demo:
464
  gr.HTML(f"<style>{css}</style>")
465
 
466
  # --- Initial Setup Screen ---
 
451
 
452
  css = """
453
  #bridge-input, #bridge-output, #log-input { display: none !important; }
454
+ .gradio-container { padding: 0 !important; max-width: 100% !important; display: flex; flex-direction: column; }
455
  #game-frame-container { flex-grow: 1; height: 100% !important; border: none; overflow: hidden; padding: 0; }
456
  #game-frame-container > .html-container { height: 100% !important; display: flex; flex-direction: column; }
457
  #game-frame-container .prose { flex-grow: 1; height: 100% !important; max-width: 100% !important; }
 
460
  .gradio-container { overflow-y: auto !important; }
461
  """
462
 
463
+ with gr.Blocks(title="Murder.Ai") as demo:
464
  gr.HTML(f"<style>{css}</style>")
465
 
466
  # --- Initial Setup Screen ---