oberbics commited on
Commit
60c69c7
·
verified ·
1 Parent(s): 4e9eff5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -276,7 +276,7 @@ h2 {
276
 
277
  /* Fix for map container spacing */
278
  #map-container {
279
- height: 30vh !important;
280
  margin-bottom: 0 !important;
281
  padding-bottom: 0 !important;
282
  }
@@ -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: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,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:30vh; margin:0; padding:0; border:1px solid #e0e0e0; border-radius:8px; overflow:hidden;">
398
  {map_html}
399
  </div>
400
  """
 
276
 
277
  /* Fix for map container spacing */
278
  #map-container {
279
+ height: 35vh !important;
280
  margin-bottom: 0 !important;
281
  padding-bottom: 0 !important;
282
  }
 
364
  map_output = gr.HTML(
365
  label="Interactive Map",
366
  value="""
367
+ <div style="text-align:center; height:35vh; 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:35vh; margin:0; padding:0; border:1px solid #e0e0e0; border-radius:8px; overflow:hidden;">
398
  {map_html}
399
  </div>
400
  """