Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

st.expander crops button outline #2437

Closed
tconkling opened this issue Dec 8, 2020 · 1 comment
Closed

st.expander crops button outline #2437

tconkling opened this issue Dec 8, 2020 · 1 comment
Labels

Comments

@tconkling
Copy link
Contributor

Buttons inside an expander have their red "I was just clicked" glow cropped by the expander.

import streamlit as st

with st.beta_expander("st.expander"):
    st.write("hello")
    st.write("world")
    st.button("submit")

Screen Shot 2020-12-08 at 3 07 00 PM

(Looks like this probably the same issue that's reported in #2247 - just needs some CSS margin/padding love, perhaps?)

@tconkling tconkling added type:bug Something isn't working status:needs-triage Has not been triaged by the Streamlit team labels Dec 8, 2020
@nthmost nthmost added area:layout and removed status:needs-triage Has not been triaged by the Streamlit team labels Dec 8, 2020
akrolsmir added a commit to akrolsmir/streamlit that referenced this issue Jan 19, 2021
akrolsmir added a commit that referenced this issue Jan 21, 2021
* Set "overflow:visible" on st.expander

Fixes #2247 , #2437

* Add new image snapshot with non-cutoff elements
@karriebear
Copy link
Contributor

Closed with #2611

@karriebear karriebear mentioned this issue Feb 3, 2021
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants