Spaces:
Running on Zero
Running on Zero
vishanth11 commited on
Commit ·
ea85c8e
1
Parent(s): 4dd7f1b
style: full bleed 100vh display for dashboard iframe
Browse files
app.py
CHANGED
|
@@ -46,10 +46,18 @@ with gr.Blocks(title="AI Traffic Adaptation System") as demo:
|
|
| 46 |
gr.HTML(
|
| 47 |
"""
|
| 48 |
<style>
|
| 49 |
-
.gradio-container {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 50 |
footer { display: none !important; }
|
| 51 |
</style>
|
| 52 |
-
<div style="width:100%;height:
|
| 53 |
<iframe src="/dashboard/" title="AI Traffic Adaptation Dashboard"
|
| 54 |
style="width:100%;height:100%;border:0;display:block"></iframe>
|
| 55 |
</div>
|
|
|
|
| 46 |
gr.HTML(
|
| 47 |
"""
|
| 48 |
<style>
|
| 49 |
+
html, body, .gradio-container {
|
| 50 |
+
max-width: 100% !important;
|
| 51 |
+
width: 100% !important;
|
| 52 |
+
height: 100% !important;
|
| 53 |
+
margin: 0 !important;
|
| 54 |
+
padding: 0 !important;
|
| 55 |
+
overflow: hidden !important;
|
| 56 |
+
background: #020617 !important;
|
| 57 |
+
}
|
| 58 |
footer { display: none !important; }
|
| 59 |
</style>
|
| 60 |
+
<div style="width:100%;height:100vh;margin:0;padding:0;overflow:hidden;background:#020617">
|
| 61 |
<iframe src="/dashboard/" title="AI Traffic Adaptation Dashboard"
|
| 62 |
style="width:100%;height:100%;border:0;display:block"></iframe>
|
| 63 |
</div>
|