From b8347684b6cfacc34583da22a5fcdabfcc4976fe Mon Sep 17 00:00:00 2001 From: Troy Date: Fri, 18 Oct 2024 10:12:02 -0600 Subject: [PATCH] fix spacing --- dashboards/utils/display.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/dashboards/utils/display.py b/dashboards/utils/display.py index ff85089..b4fd487 100644 --- a/dashboards/utils/display.py +++ b/dashboards/utils/display.py @@ -10,7 +10,7 @@ def sidebar_logo(): HEIGHT = 28 logo = f"url(data:image/png;base64,{base64.b64encode(Path(LOGO_URL).read_bytes()).decode()})" - st.markdown( + st.html( f""" """, - unsafe_allow_html=True, ) @@ -61,7 +60,7 @@ def sidebar_icon(): """ - st.markdown(custom_css, unsafe_allow_html=True) + st.html(custom_css) def display_cards(card_configs, width=3):