I would be interested in custom CSS but maybe it would be too cumbersome to add a list of editable CSS classes as arg of each Streamlit Python method and pointing them to our external CSS file ? There’s a feature in RISE that allows to inject custom CSS classes over RISE CSS but they allow display of HTML so that makes it easier. I tried adding a CSS file in the static folder where Streamlit is installed but no luck (EDIT : but it can work if done correctly !) …but unsafe_allow_html is probably going to be deprecated soon, so we can’t count on this. St.markdown("Some title", unsafe_allow_html=True) Hello as hinted by you CAN align HTML through Markdown : import streamlit as st
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |