# Streamlit sidebar width

**URL:** <https://discuss.huggingface.co/t/streamlit-sidebar-width/23218>\
**Category:** Spaces\
**Created:** [September 16, 2022, 10:02am UTC](https://discuss.huggingface.co/t/streamlit-sidebar-width/23218 "2022-09-16T10:02:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![alvarocjob](https://avatars.discourse-cdn.com/v4/letter/a/a9a28c/32.png) [@alvarocjob](https://discuss.huggingface.co/u/alvarocjob)\
**Post date:** [September 16, 2022, 10:02am UTC](https://discuss.huggingface.co/t/streamlit-sidebar-width/23218/1 "2022-09-16T10:02:15Z")

</div>

Hello,

Would it be possible to decrease the sidebar width in a Streamlit app in a Space?  
Multipage Streamlit apps were introduced recently ([Introducing multipage apps! 📄](https://blog.streamlit.io/introducing-multipage-apps/)) but the sidebar takes around 1/3rd of the screen in Spaces (see [Sidebar Demo - a Hugging Face Space by alvarocjob](https://huggingface.co/spaces/alvarocjob/sidebar_demo)). If I run the Streamlit app locally it takes around 20% of the screen.

Also, would it be possible to collapse the sidebar in Spaces as I can locally?

Thanks,

Alvaro
