Skip to content

Commit

Permalink
added fixed-width text for stockholm display
Browse files Browse the repository at this point in the history
  • Loading branch information
nick-youngblut committed Mar 11, 2024
1 parent a04c49e commit 75e5193
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ def get_image_as_base64(path):
body * {
font-family: 'IBM Plex Sans', sans-serif !important;
}
code, pre {
font-family: 'Courier New', monospace !important;
}
</style>
"""
st.markdown(font_css, unsafe_allow_html=True)
Expand Down Expand Up @@ -107,7 +110,7 @@ def get_image_as_base64(path):
# stockholm
st.markdown('##### STOCKHOLM')
stockholm = st.session_state['brna'].format_stockholm()
st.text(stockholm)
st.markdown(f"```\n{stockholm}\n```")
## download link
st.download_button(
label="Download stockholm",
Expand Down

0 comments on commit 75e5193

Please sign in to comment.