@devries-cameron20 / composio Mirror · read-only / commits / 68fe5e3e9
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, 15:45 UTC

Fix toolkit tools list responsive layout

- Stack tool name and slug vertically on mobile - Truncate long slugs with max-width (200px mobile, 300px desktop) - Truncate tool names if too long - Fix flex overflow with min-w-0 and shrink-0 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

Sushmithamallesh committed Jan 5, 2026 at 00:32 UTC 68fe5e3e9d718769e4f93d844ec20c32d47c49e4
1 file changed +5 -5
fumadocs/components/toolkits/toolkit-detail.tsx
+5 -5
@@ -45,15 +45,15 @@ function ToolItem({ item }: { item: Tool | Trigger }) {
45 <span className="shrink-0 text-fd-muted-foreground">
46 {expanded ? <ChevronDown className="h-4 w-4" /> : <ChevronRight className="h-4 w-4" />}
47 </span>
48 - <span className="flex flex-1 items-center justify-between gap-2">
49 - <span className="text-sm font-medium text-fd-foreground">{item.name}</span>
48 + <span className="flex min-w-0 flex-1 flex-col gap-1 sm:flex-row sm:items-center sm:justify-between sm:gap-2">
49 + <span className="truncate text-sm font-medium text-fd-foreground">{item.name}</span>
50 <span
51 role="button"
52 onClick={copySlug}
53 - className="inline-flex items-center gap-1 rounded bg-fd-muted px-1.5 py-0.5 font-mono text-xs text-fd-muted-foreground transition-colors hover:text-fd-foreground"
53 + className="inline-flex w-fit shrink-0 items-center gap-1 rounded bg-fd-muted px-1.5 py-0.5 font-mono text-xs text-fd-muted-foreground transition-colors hover:text-fd-foreground"
54 >
55 - {item.slug}
56 - {copied ? <Check className="h-3 w-3 text-green-500" /> : <Copy className="h-3 w-3" />}
55 + <span className="max-w-[200px] truncate sm:max-w-[300px]">{item.slug}</span>
56 + {copied ? <Check className="h-3 w-3 shrink-0 text-green-500" /> : <Copy className="h-3 w-3 shrink-0" />}
57 </span>
58 </span>
59 </button>