Set sidebar min-width to prevent st.logo
from hiding the X to close it
#8707
Labels
feature:st.logo
feature:st.sidebar
status:confirmed
Bug has been confirmed by the Streamlit team
type:bug
Something isn't working
Checklist
Summary
When using
st.logo
, the X to close the sidebar cannot go further left than the right edge of the logo. However, the sidebar minimum width is smaller than the logo's maximum width, which means the X to close the sidebar may be hidden.Reproducible Code Example
Steps To Reproduce
Use a logo with an aspect ratio of 10:1 to render a 240px by 24px logo in the sidebar.
Expected Behavior
The X to close the sidebar should always be accessible.
Current Behavior
Is this a regression?
Debug info
Additional Information
No response
The text was updated successfully, but these errors were encountered: