streamlit-option-menu icon indicating copy to clipboard operation
streamlit-option-menu copied to clipboard

How to remove the empty space of Menu If we maximize web pages on the widescreen displayer

Open lifeofpi2012 opened this issue 2 years ago • 5 comments

Hi Victory Thank you very much for your component, it makes my app more beautiful and user-friendly.

After I deploy my app on the server, I find a problem that I cannot overcome even I try my best to set different kind of "styles" option.(BTW, I'm not familiar with CSS). If my app runs on the widescreen displayer, after user maximizes the webpage, the option_menu couldn't extend the width just like the other widget, there is empty space on the left and right of the option menu, just like the following picture streamlit_option_menu_empty_space Is there is a parameter such as use_column_width for st.image? or Can I just set some parameters for styles parameter?

Need your kindly suggestions. Thanks a lot

lifeofpi2012 avatar Apr 25 '22 13:04 lifeofpi2012

I have the same problem. Is there any way to fix it?

suaide avatar Nov 13 '22 20:11 suaide

Anyone found a solution to extend the width?

Apatsi avatar Jan 30 '23 09:01 Apatsi

seems the maintainer forget this lib... ...

lifeofpi2012 avatar Feb 19 '23 12:02 lifeofpi2012

can you give me code example? I'm not sure I understand

fgdvir avatar May 21 '23 13:05 fgdvir

I'm also having the same problem, has anyone solved it? image

armandos31 avatar Jan 12 '24 09:01 armandos31