XQ commited on
Commit
461585b
·
1 Parent(s): 0c310ef

Update UI

Browse files
Files changed (1) hide show
  1. src/ui/app.py +6 -1
src/ui/app.py CHANGED
@@ -248,10 +248,15 @@ st.markdown(
248
  border-right: 1px solid #E0E0E0;
249
  }
250
  section[data-testid="stSidebar"] > div:first-child {
251
- padding-top: 5.5rem;
252
  padding-left: 1.2rem;
253
  padding-right: 1.2rem;
254
  }
 
 
 
 
 
255
  section[data-testid="stSidebar"] .sidebar-heading {
256
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
257
  font-size: 1.2rem;
 
248
  border-right: 1px solid #E0E0E0;
249
  }
250
  section[data-testid="stSidebar"] > div:first-child {
251
+ padding-top: 1rem;
252
  padding-left: 1.2rem;
253
  padding-right: 1.2rem;
254
  }
255
+
256
+ /* ---------- Shrink main area top gap to align title with sidebar heading ---------- */
257
+ .block-container {
258
+ padding-top: 1rem !important;
259
+ }
260
  section[data-testid="stSidebar"] .sidebar-heading {
261
  font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
262
  font-size: 1.2rem;