nouamanetazi HF staff commited on
Commit
aa140fd
1 Parent(s): 366b82f

fix dark color

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. src/map_utils.py +3 -0
app.py CHANGED
@@ -330,7 +330,7 @@ show_requests(filtered_df)
330
  st_folium(m, use_container_width=True, returned_objects=[], feature_group_to_add=fg, key="map")
331
 
332
  # Embed code
333
- with st.expander("📝 Embed code | Code à intégrer | كود للتضمين"):
334
  st.code(
335
  """
336
  <iframe id="nt3awnou-map"
 
330
  st_folium(m, use_container_width=True, returned_objects=[], feature_group_to_add=fg, key="map")
331
 
332
  # Embed code
333
+ with st.expander("💻 For Developers only, embed code for the map | للمطورين فقط، يمكنك نسخ كود الخريطة"):
334
  st.code(
335
  """
336
  <iframe id="nt3awnou-map"
src/map_utils.py CHANGED
@@ -95,6 +95,9 @@ template = """
95
  .maplegend a {
96
  color: #777;
97
  }
 
 
 
98
  </style>
99
  {% endmacro %}"""
100
  legend_macro = MacroElement()
 
95
  .maplegend a {
96
  color: #777;
97
  }
98
+ .leaflet-control-geocoder-form input {
99
+ color: #000;
100
+ }
101
  </style>
102
  {% endmacro %}"""
103
  legend_macro = MacroElement()