RMHalak commited on
Commit
9202d78
·
verified ·
1 Parent(s): 2d4db89

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -17,14 +17,14 @@ with open("./cities_geo.json", "r") as f:
17
  cities_geo = json.load(f)
18
 
19
  # Custom CSS to adjust the slider width
 
20
  st.markdown("""
21
  <style>
22
- .slider-container {
23
- max-width: 400px; /* Adjust the width to your preference */
24
- margin-bottom: 20px;
25
  }
26
  </style>
27
- """, unsafe_allow_html=True)
28
 
29
  # Create two columns: one for the city and one for the map
30
  col1, col2 = st.columns([1, 2]) # Adjust the width ratios as needed
 
17
  cities_geo = json.load(f)
18
 
19
  # Custom CSS to adjust the slider width
20
+
21
  st.markdown("""
22
  <style>
23
+ .stSlider [data-baseweb=slider]{
24
+ width: 80%;
 
25
  }
26
  </style>
27
+ """,unsafe_allow_html=True)
28
 
29
  # Create two columns: one for the city and one for the map
30
  col1, col2 = st.columns([1, 2]) # Adjust the width ratios as needed