Shubham170793 commited on
Commit
a759474
·
verified ·
1 Parent(s): 3d6631f

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. 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)