Hi everyone,
It seems theming with config.toml undos some of the CSS styling - in particular the CSS styling for buttons. Do you know how to prevent this?
Step-by-step explanation with code:
- I have the following CSS styling for buttons in my app:
st.markdown(f"""<style> .css-160hik1{{
width:10em;
height:4em;
}}</style>""", unsafe_allow_html=True)
-
Then I add a config.toml file in .streamlit folder with a custom theme.
-
Then the CSS styling for buttons in step 1 is completely ignored.
Thanks.