Update src/streamlit_app.py
Browse files- src/streamlit_app.py +9 -0
src/streamlit_app.py
CHANGED
|
@@ -203,3 +203,12 @@ else:
|
|
| 203 |
|
| 204 |
st.markdown("### 🤖 Assistant’s Answer")
|
| 205 |
st.markdown(f"<div class='answer-box'>{answer}</div>", unsafe_allow_html=True)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 203 |
|
| 204 |
st.markdown("### 🤖 Assistant’s Answer")
|
| 205 |
st.markdown(f"<div class='answer-box'>{answer}</div>", unsafe_allow_html=True)
|
| 206 |
+
|
| 207 |
+
# ==========================================================
|
| 208 |
+
# 🎨 Sidebar scroll style
|
| 209 |
+
# ==========================================================
|
| 210 |
+
st.markdown("""
|
| 211 |
+
<style>
|
| 212 |
+
section[data-testid="stSidebar"] div.stExpander {max-height:480px;overflow-y:auto;}
|
| 213 |
+
</style>
|
| 214 |
+
""", unsafe_allow_html=True)
|