Update app.py
Browse files
app.py
CHANGED
@@ -78,6 +78,29 @@ st.markdown("""
|
|
78 |
padding-top: 0;
|
79 |
}
|
80 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
/* Give space for chat input at bottom */
|
82 |
.main .block-container {
|
83 |
padding-bottom: 80px;
|
@@ -302,8 +325,6 @@ Temperature: {"0.7" if model_info["supports_temperature"] else "Not supported fo
|
|
302 |
disabled=True
|
303 |
)
|
304 |
|
305 |
-
st.markdown("---")
|
306 |
-
|
307 |
# Collapsible System Prompt Box with Edit/Save/Cancel buttons
|
308 |
with st.expander("System Prompt", expanded=False):
|
309 |
if st.session_state.is_editing_system_prompt:
|
|
|
78 |
padding-top: 0;
|
79 |
}
|
80 |
|
81 |
+
/* Reduce spacing between sidebar elements */
|
82 |
+
section[data-testid="stSidebar"] .block-container {
|
83 |
+
padding-top: 1rem;
|
84 |
+
padding-bottom: 0;
|
85 |
+
}
|
86 |
+
|
87 |
+
/* Make sidebar expanders more compact */
|
88 |
+
section[data-testid="stSidebar"] .stExpander {
|
89 |
+
margin-bottom: 0.5rem;
|
90 |
+
}
|
91 |
+
|
92 |
+
/* Reduce vertical margins in sidebar */
|
93 |
+
section[data-testid="stSidebar"] h2,
|
94 |
+
section[data-testid="stSidebar"] h3 {
|
95 |
+
margin-top: 0.5rem;
|
96 |
+
margin-bottom: 0.5rem;
|
97 |
+
}
|
98 |
+
|
99 |
+
/* Compact spacing for markdown elements in sidebar */
|
100 |
+
section[data-testid="stSidebar"] [data-testid="stMarkdown"] {
|
101 |
+
margin-bottom: 0.5rem;
|
102 |
+
}
|
103 |
+
|
104 |
/* Give space for chat input at bottom */
|
105 |
.main .block-container {
|
106 |
padding-bottom: 80px;
|
|
|
325 |
disabled=True
|
326 |
)
|
327 |
|
|
|
|
|
328 |
# Collapsible System Prompt Box with Edit/Save/Cancel buttons
|
329 |
with st.expander("System Prompt", expanded=False):
|
330 |
if st.session_state.is_editing_system_prompt:
|