Skip to content

Commit 63f450a

Browse files
fix: Incossitent spacing in sidebar (issue #95)
1 parent 821d496 commit 63f450a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/assets/styles/card-layout.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
background: var(--primary-light);
7373
}
7474

75-
.icon {
75+
.card_icon {
7676
font-size: 1.2em;
7777
margin-right: 0.5em;
7878
}

src/components/CardLayout.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,15 @@ type Props = { section: CardSectionType };
1616
{
1717
section.href.playground && (
1818
<a href={section.href.playground.link} class="btn btn-playground">
19-
<span class="icon">{section.href.playground.icon}</span>
19+
<span class="card_icon">{section.href.playground.icon}</span>
2020
{section.href.playground.text || "Playground"}
2121
</a>
2222
)
2323
}
2424
{
2525
section.href.board && (
2626
<a href={section.href.board.link} class="btn btn-board">
27-
<span class="icon">{section.href.board.icon}</span>
27+
<span class="card_icon">{section.href.board.icon}</span>
2828
{section.href.board.text || "Board"}
2929
</a>
3030
)

0 commit comments

Comments
 (0)