Spaces:
Running
Running
Commit ·
7bf3fa4
1
Parent(s): 5d02a8d
Reduce sidebar top spacing above LiiS logo
Browse filesCo-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
app.py
CHANGED
|
@@ -118,7 +118,12 @@ st.markdown(f"""
|
|
| 118 |
.stSuccess, .stInfo {{ border-radius: 8px; }}
|
| 119 |
.stDataFrame {{ border-radius: 8px; }}
|
| 120 |
.streamlit-expanderHeader {{ border-radius: 8px; }}
|
| 121 |
-
[data-testid="stSidebar"] > div:first-child {{ padding-top:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 122 |
</style>
|
| 123 |
""", unsafe_allow_html=True)
|
| 124 |
|
|
|
|
| 118 |
.stSuccess, .stInfo {{ border-radius: 8px; }}
|
| 119 |
.stDataFrame {{ border-radius: 8px; }}
|
| 120 |
.streamlit-expanderHeader {{ border-radius: 8px; }}
|
| 121 |
+
[data-testid="stSidebar"] > div:first-child {{ padding-top: 0rem; }}
|
| 122 |
+
[data-testid="stSidebar"] [data-testid="stVerticalBlock"] {{ gap: 0.5rem; }}
|
| 123 |
+
[data-testid="stSidebar"] .block-container {{ padding-top: 0; }}
|
| 124 |
+
section[data-testid="stSidebar"] {{ top: 0; padding-top: 0; }}
|
| 125 |
+
[data-testid="stSidebarCollapsedControl"] {{ top: 0.5rem; }}
|
| 126 |
+
[data-testid="stSidebar"] [data-testid="stMarkdown"]:first-child {{ margin-top: 0; }}
|
| 127 |
</style>
|
| 128 |
""", unsafe_allow_html=True)
|
| 129 |
|