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.

css

Sushmithamalleshf253d328b0b7
diff --git a/fumadocs/app/(home)/docs/layout.tsx b/fumadocs/app/(home)/docs/layout.tsx
index 5a1da0fab..b3273bb71 100644
--- a/fumadocs/app/(home)/docs/layout.tsx
+++ b/fumadocs/app/(home)/docs/layout.tsx
@@ -16,7 +16,7 @@ export default function Layout({ children }: LayoutProps<'/docs'>) {
return (
<DocsLayout
tree={pageTree}
- nav={{ enabled: false }}
+ nav={{ enabled: false, title: null }}
searchToggle={{ enabled: false }}
sidebar={{ collapsible: false, footer: null }}
themeSwitch={{ enabled: false }}
diff --git a/fumadocs/app/global.css b/fumadocs/app/global.css
index dbb6aa14e..1a6f094e3 100644
--- a/fumadocs/app/global.css
+++ b/fumadocs/app/global.css
@@ -246,24 +246,30 @@ a:focus-visible {
background-color: var(--composio-sidebar);
}
-#nd-sidebar > div:first-child {
- padding-top: 0;
+/* Hide empty sidebar header when no title is set */
+#nd-sidebar > div:first-child:has(a:empty) {
+ display: none;
}
-#nd-sidebar-mobile {
- background-color: var(--composio-sidebar);
+/* Tighter sidebar item spacing */
+#nd-sidebar [data-radix-scroll-area-viewport] a,
+#nd-sidebar [data-radix-scroll-area-viewport] button {
+ min-height: 1.75rem;
+ padding-block: 0.125rem;
+ color: var(--color-fd-foreground);
}
-/* Tighten sidebar item spacing */
-#nd-sidebar a {
- padding-top: 0.25rem;
- padding-bottom: 0.25rem;
+/* Section headers - distinct from nav items */
+#nd-sidebar [data-radix-scroll-area-viewport] > div > p {
+ font-size: 0.6875rem;
+ font-weight: 600;
+ text-transform: uppercase;
+ letter-spacing: 0.05em;
+ color: var(--color-fd-muted-foreground);
}
-/* Reduce space between sidebar sections */
-#nd-sidebar [data-separator] {
- margin-top: 0.75rem;
- margin-bottom: 0.25rem;
+#nd-sidebar-mobile {
+ background-color: var(--composio-sidebar);
}
[data-active="true"] {
diff --git a/fumadocs/lib/create-docs-layout.tsx b/fumadocs/lib/create-docs-layout.tsx
index 9c199cdac..116e262a8 100644
--- a/fumadocs/lib/create-docs-layout.tsx
+++ b/fumadocs/lib/create-docs-layout.tsx
@@ -9,7 +9,7 @@ export function createDocsLayout(source: Source) {
return (
<DocsLayout
tree={source.pageTree}
- nav={{ enabled: false }}
+ nav={{ enabled: false, title: null }}
searchToggle={{ enabled: false }}
sidebar={{ collapsible: false, footer: null }}
themeSwitch={{ enabled: false }}