Skip to content

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

docs: fix prose link color leaking into PageActions on toolkit pages

Sushmitha Mallesh5f660d3eb3de
diff --git a/docs/app/(home)/toolkits/[[...slug]]/page.tsx b/docs/app/(home)/toolkits/[[...slug]]/page.tsx
index 3488a9c68..7cd6eb0c0 100644
--- a/docs/app/(home)/toolkits/[[...slug]]/page.tsx
+++ b/docs/app/(home)/toolkits/[[...slug]]/page.tsx
@@ -207,12 +207,14 @@ export default async function ToolkitsPage({ params }: { params: Promise<{ slug?
if (page) {
const MDXContent = page.data.body;
return (
- <article className="prose prose-fd max-w-none">
- <a href="/toolkits" className="text-sm text-fd-primary no-underline hover:underline">← All Toolkits</a>
- <h1>{page.data.title}</h1>
+ <div>
+ <a href="/toolkits" className="text-sm text-fd-muted-foreground no-underline hover:text-fd-foreground hover:underline">← All Toolkits</a>
+ <h1 className="mt-2 text-3xl font-bold text-fd-foreground">{page.data.title}</h1>
<PageActions path={page.url} />
- <MDXContent components={getMDXComponents()} />
- </article>
+ <article className="prose prose-fd max-w-none">
+ <MDXContent components={getMDXComponents()} />
+ </article>
+ </div>
);
}
diff --git a/docs/components/page-actions.tsx b/docs/components/page-actions.tsx
index 20ded725f..03334e33c 100644
--- a/docs/components/page-actions.tsx
+++ b/docs/components/page-actions.tsx
@@ -78,7 +78,7 @@ export function PageActions({ path }: PageActionsProps) {
return (
<div
- className="flex flex-wrap items-center gap-1.5 sm:gap-1 mt-2 mb-6"
+ className="not-prose flex flex-wrap items-center gap-1.5 sm:gap-1 mt-2 mb-6"
role="group"
aria-label="Page actions"
>