Custom scale of the streamlit elements

Is there any way to make the streamlit elements like input widgets arbitrary smaller? I don’t mean scaling using browser.

1 Like

You can use the sx variable for mui elements or css for the html elements. Its just using css variables.
For example

html.div(css={'width':'40%'})

mui.Box(sx={'width':'40%'})

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