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.

Improve sidebar spacing between section groups

Sushmithamalleshdba1a84f76cc
diff --git a/fumadocs/app/global.css b/fumadocs/app/global.css
index faa5a07af..bf17488e5 100644
--- a/fumadocs/app/global.css
+++ b/fumadocs/app/global.css
@@ -253,8 +253,8 @@ a:focus-visible {
/* Sidebar nav items */
#nd-sidebar [data-radix-scroll-area-viewport] a,
#nd-sidebar [data-radix-scroll-area-viewport] button {
- min-height: 1.75rem;
- padding-block: 0.125rem;
+ padding: 0.375rem 0.5rem;
+ border-radius: 0.375rem;
color: var(--color-fd-foreground);
}
@@ -262,8 +262,10 @@ a:focus-visible {
color: var(--composio-orange);
}
-/* Section headers - distinct from nav items */
-#nd-sidebar [data-radix-scroll-area-viewport] > div > p {
+/* Section headers (separators) - more spacing for visual group separation */
+#nd-sidebar p.inline-flex {
+ margin-top: 1.75rem !important;
+ margin-bottom: 0.5rem;
font-size: 0.6875rem;
font-weight: 500;
text-transform: uppercase;
@@ -271,6 +273,11 @@ a:focus-visible {
color: var(--color-fd-muted-foreground);
}
+/* First section header - less top margin */
+#nd-sidebar p.inline-flex:first-of-type {
+ margin-top: 0 !important;
+}
+
#nd-sidebar-mobile {
background-color: var(--composio-sidebar);
}