Skip to content

Commit 2097c9d

Browse files
committed
Make edit and issue buttons less glaring"
1 parent f76386f commit 2097c9d

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-gray-300 bg-white px-3 text-s font-small text-black hover:bg-gray-50"
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-gray-300 bg-white px-3 text-s font-small text-black hover:bg-gray-50"
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)