How to change the default width of sidebar in version 1.12.0?

Ask the community or our support engineers for answers to questions. In the previous version, the method mentioned in this issue(Ability to set sidebar width · Issue #2058 · streamlit/streamlit · GitHub) worked well to solve my problem.

However, after the update, sidebar became draggable, but the above method no longer works. I also did not find a parameter where I can change the default width. Please forgive me if I am missing something.

Hi @liuzj039,

Thanks for posting! Unfortunately, we don’t have a built-in way to set the default width of the sidebar yet, but that’s a great feature enhancement idea – feel free to post it here.

Caroline