Hi! I am using the option_menu on the sidebar to create the menu for my app. The sidebar is dark blue and the container with the menu options is white. When clicking one of the menu options, the color changes to the expected dark blue like the background. The only thing I would like is to have the corners of the white container with the menu options to be rounded, is this possible using the styles = {} option provided with the widget (see below)? Not sure why it does not work.
if st.session_state:
st.sidebar.image(
"./images/sidebar.png",
use_column_width=True,
)
with st.sidebar:
menu = option_menu(
menu_title=None,
options=[
"Business",
"Model",
"Optimization",
"Media Simulator",
"Business Forecast",
"Test Bench",
],
icons=[
"briefcase",
"cpu",
"bar-chart",
"sliders",
"graph-up-arrow",
"gear",
],
default_index=0,
orientation="vertical",
)
styles={
"container": {"padding": "0!important", "background-color": "#444444", "border-radius": "15px"},
}