Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -364,7 +364,7 @@ with gr.Blocks(css=custom_css, title="Historical Data Analysis") as demo:
|
|
364 |
map_output = gr.HTML(
|
365 |
label="Interactive Map",
|
366 |
value="""
|
367 |
-
<div style="text-align:center; height:
|
368 |
background-color:#f5f5f5; border:1px solid #e0e0e0; border-radius:8px;">
|
369 |
<div>
|
370 |
<img src="https://cdn-icons-png.flaticon.com/512/854/854878.png" width="100">
|
@@ -394,7 +394,7 @@ with gr.Blocks(css=custom_css, title="Historical Data Analysis") as demo:
|
|
394 |
|
395 |
if map_html and processed_path:
|
396 |
responsive_html = f"""
|
397 |
-
<div style="width:100%; height:
|
398 |
{map_html}
|
399 |
</div>
|
400 |
"""
|
|
|
364 |
map_output = gr.HTML(
|
365 |
label="Interactive Map",
|
366 |
value="""
|
367 |
+
<div style="text-align:center; height:30vh; width:100%; display:flex; align-items:center; justify-content:center;
|
368 |
background-color:#f5f5f5; border:1px solid #e0e0e0; border-radius:8px;">
|
369 |
<div>
|
370 |
<img src="https://cdn-icons-png.flaticon.com/512/854/854878.png" width="100">
|
|
|
394 |
|
395 |
if map_html and processed_path:
|
396 |
responsive_html = f"""
|
397 |
+
<div style="width:100%; height:30vh; margin:0; padding:0; border:1px solid #e0e0e0; border-radius:8px; overflow:hidden;">
|
398 |
{map_html}
|
399 |
</div>
|
400 |
"""
|