Summary
Hey, Im trying to reduce the gap between two lines of text. Ideally I want the lines to be right on top of one another.
Steps to reproduce
Code snippet:
with col2:
st.write("**INDUSTRY**")
st.write("Software Application")
Hey, Im trying to reduce the gap between two lines of text. Ideally I want the lines to be right on top of one another.
Code snippet:
with col2:
st.write("**INDUSTRY**")
st.write("Software Application")
You can use a single write.
st.write("""
**INDUSTRY**
Software Application
""")
There are 2 spaces after **INDUSTRY**
Or use the break with unsafe_allow_html=True
.
st.write("""
**INDUSTRY**
<br>
Software Application
""", unsafe_allow_html=True)