iuiu
1
Hi,
about this ticket
is it possible to customize the font of a widget with stylable_container?
code below doesn’t work
with stylable_container(
key="comic_sans_button",
css_styles="""
button {
font-family: 'Comic Sans MS', cursive, sans-serif;
}
""",
):
st.button("Comic Sans button")
coder
2
Check those posts, maybe will help you:
arnaud
3
Hey @coder,
I did add a response in the original issue, let me know if that helps!
3 Likes
coder
4
You are correct, and the documentation about the Styleable Container can be found at:
Streamlit-extras - Styleable Container
2 Likes
arnaud
5
Thanks @coder! I meant to tag @iuiu, but thanks even more for quoting the docs page.
system
Closed
6
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.