Skip to content

Commit

Permalink
fix spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
Tburm committed Oct 18, 2024
1 parent b3913aa commit b834768
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions dashboards/utils/display.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
<style>
[data-testid="stSidebarHeader"] {{
Expand All @@ -21,7 +21,6 @@ def sidebar_logo():
}}
</style>
""",
unsafe_allow_html=True,
)


Expand Down Expand Up @@ -61,7 +60,7 @@ def sidebar_icon():
</style>
"""
st.markdown(custom_css, unsafe_allow_html=True)
st.html(custom_css)


def display_cards(card_configs, width=3):
Expand Down

0 comments on commit b834768

Please sign in to comment.