@devries-cameron20 / composio Mirror · read-only / commits / 5f660d3eb
Fork 0

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

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 22, 03:15 UTC

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

Move back link, title, and PageActions outside the prose wrapper so anchor styles don't override the component's own styling. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

Sushmitha Mallesh committed Mar 9, 2026 at 20:16 UTC 5f660d3eb3de307fde42d93d2a704232ffb37335
2 files changed +8 -6
docs/app/(home)/toolkits/[[...slug]]/page.tsx
+7 -5
@@ -207,12 +207,14 @@ export default async function ToolkitsPage({ params }: { params: Promise<{ slug?
207 if (page) {
208 const MDXContent = page.data.body;
209 return (
210 - <article className="prose prose-fd max-w-none">
211 - <a href="/toolkits" className="text-sm text-fd-primary no-underline hover:underline">← All Toolkits</a>
212 - <h1>{page.data.title}</h1>
210 + <div>
211 + <a href="/toolkits" className="text-sm text-fd-muted-foreground no-underline hover:text-fd-foreground hover:underline">← All Toolkits</a>
212 + <h1 className="mt-2 text-3xl font-bold text-fd-foreground">{page.data.title}</h1>
213 <PageActions path={page.url} />
214 - <MDXContent components={getMDXComponents()} />
215 - </article>
214 + <article className="prose prose-fd max-w-none">
215 + <MDXContent components={getMDXComponents()} />
216 + </article>
217 + </div>
218 );
219 }
220
docs/components/page-actions.tsx
+1 -1
@@ -78,7 +78,7 @@ export function PageActions({ path }: PageActionsProps) {
78
79 return (
80 <div
81 - className="flex flex-wrap items-center gap-1.5 sm:gap-1 mt-2 mb-6"
81 + className="not-prose flex flex-wrap items-center gap-1.5 sm:gap-1 mt-2 mb-6"
82 role="group"
83 aria-label="Page actions"
84 >