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

Missing information about standard streamlit css styles and effect of custom themes #879

Open
mauermbq opened this issue Nov 14, 2023 · 1 comment
Labels

Comments

@mauermbq
Copy link

Link to doc page in question (if any):
Referring to the following threads, there are issues with usage of styles for instance with
https://discuss.streamlit.io/t/datepicker-css-style/55392/1
https://discuss.streamlit.io/t/formatting-date-picker/51927

Name of the Streamlit feature whose docs need improvement:
stylable_container --> from streamlit_extras
st.markup("<style string>", unsafe_allow_html=True)

What you think the docs should say:
The effects of themes on styles
Where are css standard styles documented, including style names that might needed to be overwritten (see date_input example)

@sfc-gh-dmatthews
Copy link
Contributor

Hi @mauermbq,

CSS styling isn't "officially" supported and the particular classes and IDs you might hook onto may change at any time. However, CSS styling is a popular request. I'll leave this open since there may be room to improve this.

Certainly, enhancing the theming docs overall is a reasonable request. 😄 Improved visual customization is currently on the roadmap for next quarter.

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

2 participants