Skip to content

Commit d534f62

Browse files
rita3koKianNH
andauthored
Make edit and issue buttons less glaring (#20370)
* Make edit and issue buttons less glaring" * Fix br tag, use hairline colour for border, remove unused classes --------- Co-authored-by: Kian Newman-Hazel <[email protected]>
1 parent ca07a08 commit d534f62

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/overrides/TableOfContents.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import FeedbackPrompt from "../FeedbackPrompt.tsx";
77
---
88

99
<Default {...Astro.props} />
10+
<br />
11+
<FeedbackPrompt client:idle />
1012
{
1113
!Astro.url.pathname.startsWith("/support/") && (
1214
<>
@@ -15,15 +17,15 @@ import FeedbackPrompt from "../FeedbackPrompt.tsx";
1517
{Astro.props.editUrl && (
1618
<a
1719
href={Astro.props.editUrl}
18-
class="h-8 cursor-pointer content-center rounded bg-cl1-brand-orange px-4 text-sm font-medium text-cl1-black"
20+
class="inline-flex h-8 items-center justify-center gap-2 rounded border border-[--sl-color-hairline] px-3 text-black"
1921
>
2022
<Icon name="pencil" />
2123
Edit
2224
</a>
2325
)}
2426
<a
2527
href="https://github.com/cloudflare/cloudflare-docs/issues/new/choose"
26-
class="h-8 cursor-pointer content-center rounded bg-cl1-brand-orange px-4 text-sm font-medium text-cl1-black"
28+
class="inline-flex h-8 items-center justify-center gap-2 rounded border border-[--sl-color-hairline] px-3 text-black"
2729
>
2830
<Icon name="github" />
2931
Issue
@@ -32,5 +34,3 @@ import FeedbackPrompt from "../FeedbackPrompt.tsx";
3234
</>
3335
)
3436
}
35-
<br />
36-
<FeedbackPrompt client:idle />

0 commit comments

Comments
 (0)