Layouts customize

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!