anofa commited on
Commit
9af0b27
·
verified ·
1 Parent(s): b043105

Update demo2/pages/__init__.py

Browse files
Files changed (1) hide show
  1. demo2/pages/__init__.py +3 -3
demo2/pages/__init__.py CHANGED
@@ -47,7 +47,7 @@ css = """
47
  }
48
 
49
  .v-input__control {
50
- height: 26px
51
  }
52
 
53
  .jupyter-widgets.leaflet-widgets {
@@ -649,7 +649,7 @@ def Page():
649
  solara.Button(lbl_earthquake[lang.value], value="earthquake", text=True, on_click=lambda: hazard_type.set("earthquake"), style=f"{bgcolor} width: 100%; height: 26px")
650
  # DensityMap("earthquake")
651
  with solara.Row(justify="center"):
652
- solara.Image("/static/public/eq3.png")
653
  with solara.Column():
654
  if hazard_type.value == "flood":
655
  bgcolor = "background-color: #545454;"
@@ -659,7 +659,7 @@ def Page():
659
  solara.Button(lbl_flood[lang.value], value="flood", text=True, on_click=lambda: hazard_type.set("flood"), style=f"{bgcolor} width: 100%; height: 26px")
660
  # DensityMap("flood")
661
  with solara.Row(justify="center"):
662
- solara.Image("/static/public/fl3.png")
663
  # with solara.Column():
664
  # if hazard_type.value == "debris":
665
  # bgcolor = "background-color: #545454;"
 
47
  }
48
 
49
  .v-input__control {
50
+ height: 30px
51
  }
52
 
53
  .jupyter-widgets.leaflet-widgets {
 
649
  solara.Button(lbl_earthquake[lang.value], value="earthquake", text=True, on_click=lambda: hazard_type.set("earthquake"), style=f"{bgcolor} width: 100%; height: 26px")
650
  # DensityMap("earthquake")
651
  with solara.Row(justify="center"):
652
+ solara.Image("/static/public/eq.png")
653
  with solara.Column():
654
  if hazard_type.value == "flood":
655
  bgcolor = "background-color: #545454;"
 
659
  solara.Button(lbl_flood[lang.value], value="flood", text=True, on_click=lambda: hazard_type.set("flood"), style=f"{bgcolor} width: 100%; height: 26px")
660
  # DensityMap("flood")
661
  with solara.Row(justify="center"):
662
+ solara.Image("/static/public/fl.png")
663
  # with solara.Column():
664
  # if hazard_type.value == "debris":
665
  # bgcolor = "background-color: #545454;"