Layouts customize

Hi, How can I drop this part in the layout?
Thanks in advance

Hi @Luigi_Giugliano

You’ll likely need CSS customization to perform granular adjustment of the spacing there.

The following CSS code snippet may be a good starting point (try adjusting padding-top and margin-top)


st.markdown("""
<style>

[data-testid="block-container"] {
    padding-top: 16px;
    margin-top: -16px;
}

</style>
""", unsafe_allow_html=True)

Also check out this FAQ for additional information on visual customization of your Streamlit app:

Hope this helps!

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