Selectbox has different style using localhost or IP address

I’m running my app on my webserver
python 3.11 Streamlit 2.9.
Why has selectbox different style using localhost or IP address?

Hey @FrancescoC,

Thanks for sharing this question. Can you share screenshots to demonstrate what you mean by a different style?

Hey @Caroline. Using localhost the background color is black, using IP address the background color is white. I’m using the same browser.

It sounds like maybe you have dark mode enabled on your computer, but the network version of the app is not picking up on dark mode?

Yes, I have dark mode enabled. I solved using html style with st.markdown.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.