Spaces:
Paused
Paused
Update app.py
Browse files
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
|
| 23 |
-
|
| 24 |
-
margin-bottom: 20px;
|
| 25 |
}
|
| 26 |
</style>
|
| 27 |
-
""",
|
| 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
|