App width control with markdown

Hi everyone!

Before latest version I used to control appā€™s scaling aka width and padding around the content.

Canā€™t do it anymore, can anyone help?

Thatā€™s how the code looked before

st.markdown(
        f"""
    <style>
        .reportview-container .main .block-container{{
            {"max-width: {1000}px;
            padding-top: {0}rem;
            padding-right: {3}rem;
            padding-left: {2}rem;
            padding-bottom: {0}rem;
        }}
    </style>
    """,
            unsafe_allow_html=True,
        )

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