Skip to content

Commit 91ea71d

Browse files
authored
[Docs Site] DashButton styling (#24853)
1 parent c87c20b commit 91ea71d

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

src/components/DashButton.astro

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,16 @@ const { name } = route;
2222
const { href } = new URL(route.deeplink, "https://dash.cloudflare.com");
2323
---
2424

25-
<LinkButton href={href} icon="external">Go to <strong>{name}</strong></LinkButton>
25+
<LinkButton href={href} icon="external"
26+
>Go to <strong>{name}</strong></LinkButton
27+
>
28+
29+
<style>
30+
.sl-link-button {
31+
padding: 0.1875rem 0.5rem;
32+
33+
svg {
34+
--sl-icon-size: 1rem !important;
35+
}
36+
}
37+
</style>

0 commit comments

Comments
 (0)