Create empty space to separate portions of the app

Is there any way to insert empty white space to separate plots? The only way I am able to do now is to insert st.text(" ") multiple times on difference lines. Is there a better way?

1 Like

Hello @teyang-lau,

If youโ€™re looking for a visual separator, you could do st.write("--"). Otherwise itโ€™s going to be as you said. You can also use markdown titles to adjust the size of your separation: st.write("#"), st.write("##"), etc.

1 Like

Thanks a lot @okld.

st.markdown('#') or st.markdown('##') etc works for me depending on how large I want the separator to be.

3 Likes

We are also working on theme support, which will hopefully make this type of CSS manipulation much easier. Doesnโ€™t help you this instant, but hopefully youโ€™ll be able to remove these empty spacers in the near future.

3 Likes