Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -7,6 +7,26 @@ import plotly.graph_objs as go
|
|
| 7 |
# Set up the layout
|
| 8 |
st.set_page_config(layout="wide")
|
| 9 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
# App title and description
|
| 11 |
st.title("Key Economic Recession Indicators")
|
| 12 |
st.markdown("""
|
|
|
|
| 7 |
# Set up the layout
|
| 8 |
st.set_page_config(layout="wide")
|
| 9 |
|
| 10 |
+
|
| 11 |
+
# Custom CSS to adjust the sidebar width
|
| 12 |
+
st.markdown(
|
| 13 |
+
"""
|
| 14 |
+
<style>
|
| 15 |
+
/* Increase the width of the sidebar */
|
| 16 |
+
.css-1d391kg {
|
| 17 |
+
width: 350px; /* Adjust this value to your desired width */
|
| 18 |
+
}
|
| 19 |
+
|
| 20 |
+
/* Ensure main content is still centered properly */
|
| 21 |
+
.css-1d391kg ~ .css-1d391kg {
|
| 22 |
+
left: 350px; /* This value should match the width above */
|
| 23 |
+
}
|
| 24 |
+
</style>
|
| 25 |
+
""",
|
| 26 |
+
unsafe_allow_html=True,
|
| 27 |
+
)
|
| 28 |
+
|
| 29 |
+
|
| 30 |
# App title and description
|
| 31 |
st.title("Key Economic Recession Indicators")
|
| 32 |
st.markdown("""
|