Spaces:
Running
Running
Fix height issue
Browse files
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;
|
| 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"
|
| 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 ---
|