I am using stremlit 1.38, I need to remove the border of the expanders but from directly the library. There is a little glich when I use markdown and it doesnt look good neither professional, I looked where this style is in the lib but I don’t find it, there are anyone who knows where I can find it?
You would have to use a CSS hack to do it. For reference, can you share what in Markdown is making the border on the expander look bad. It is helpful for our developers to know what problems people are encountering.
import streamlit as st
a = st.expander("Example")
a.write("Hi")
CSS = """
.stExpander > details {
border: none;
}
"""
st.html(f"<style>{CSS}</style>")