We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Using the [Bottom Container] (https://arnaudmiribel.github.io/streamlit-extras/extras/bottom_container/) to move a Styleable Container to the bottom of the view port disables the styling.
In the code below, the button at the bottom has no style, but the one at the top does - both are using the same stylable_container code.
import streamlit as st from streamlit_extras.bottom_container import bottom from streamlit_extras.stylable_container import stylable_container with stylable_container( key="test_button1", css_styles=""" button { background-color: white; border: none; color: blue; } """, ): with bottom(): st.button("Styled Container FAILS it bottom") with stylable_container( key="test_button2", css_styles=""" button { background-color: white; border: none; color: blue; } """, ): st.button("Styled Container WORKS without bottom")
![DESCRIPTION](LINK.png)
No response
1.37
0.4.3
The text was updated successfully, but these errors were encountered:
Hey @christopherwerner, does it also not work if you do it the other way, i.e.:
with bottom(): with stylable_container(...): st.button("Test")
Pinging @lukasmasuch since he might know best about the internals of this.
Sorry, something went wrong.
lukasmasuch
No branches or pull requests
Description
Using the [Bottom Container] (https://arnaudmiribel.github.io/streamlit-extras/extras/bottom_container/) to move a Styleable Container to the bottom of the view port disables the styling.
In the code below, the button at the bottom has no style, but the one at the top does - both are using the same stylable_container code.
Reproduction steps
Screenshots
![DESCRIPTION](LINK.png)
Logs
No response
Version of streamlit
1.37
Version of streamlit-extras
0.4.3
The text was updated successfully, but these errors were encountered: