mathiassandnes Claude Opus 4.6 commited on
Commit
7bf3fa4
·
1 Parent(s): 5d02a8d

Reduce sidebar top spacing above LiiS logo

Browse files

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. app.py +6 -1
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: 1rem; }}
 
 
 
 
 
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