Skip to content

Commit

Permalink
Merge pull request #22 from Synthetixio/bug/fix-spacing
Browse files Browse the repository at this point in the history
Spacing bug
  • Loading branch information
Tburm authored Oct 18, 2024
2 parents b3913aa + b834768 commit a307398
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 a307398

Please sign in to comment.