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.

Reduce docs page spacing for tighter layout

Sushmithamalleshffbe82ef699d
diff --git a/fumadocs/app/(home)/docs/[[...slug]]/page.tsx b/fumadocs/app/(home)/docs/[[...slug]]/page.tsx
index 733d789dd..1988658e5 100644
--- a/fumadocs/app/(home)/docs/[[...slug]]/page.tsx
+++ b/fumadocs/app/(home)/docs/[[...slug]]/page.tsx
@@ -20,7 +20,7 @@ export default async function Page(props: PageProps<'/docs/[[...slug]]'>) {
return (
<DocsPage toc={page.data.toc} full={page.data.full} footer={{ enabled: false }}>
<DocsTitle>{page.data.title}</DocsTitle>
- <DocsDescription>{page.data.description}</DocsDescription>
+ <DocsDescription className="mb-4">{page.data.description}</DocsDescription>
<DocsBody>
<MDX
components={getMDXComponents({
diff --git a/fumadocs/app/global.css b/fumadocs/app/global.css
index 19819a56d..a360a406c 100644
--- a/fumadocs/app/global.css
+++ b/fumadocs/app/global.css
@@ -280,6 +280,20 @@ a:focus-visible {
background: transparent;
}
+/* ==========================================================================
+ Docs Page
+ ========================================================================== */
+
+#nd-page {
+ padding-top: 1.5rem;
+}
+
+@media (min-width: 768px) {
+ #nd-page {
+ padding-top: 2rem;
+ }
+}
+
/* ==========================================================================
Components
========================================================================== */