From 166317b1ec3387a27c4de08a04ca81fc21b369d1 Mon Sep 17 00:00:00 2001 From: Ishaan Gupta Date: Fri, 3 Jul 2026 20:39:25 +0530 Subject: [PATCH] Tighten MCP picker card spacing --- apps/mcp/src/widget/components/WorkspaceCard.tsx | 13 ++++++------- apps/mcp/src/widget/views/Picker.tsx | 4 ++-- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/apps/mcp/src/widget/components/WorkspaceCard.tsx b/apps/mcp/src/widget/components/WorkspaceCard.tsx index 277ee856..490add1a 100644 --- a/apps/mcp/src/widget/components/WorkspaceCard.tsx +++ b/apps/mcp/src/widget/components/WorkspaceCard.tsx @@ -20,30 +20,30 @@ export function WorkspaceCard({ return ( onClick(containerTag.containerTag)} variant={active ? "active" : "interactive"} > -
+
{access ? : null}
{active ? ( - + ) : null} {name} -
+
{containerTag.containerTag}
{(containerTag.documentCount > 0 || containerTag.memoryCount > 0) && ( -
+
{containerTag.documentCount} doc {containerTag.documentCount === 1 ? "" : "s"} @@ -55,7 +55,6 @@ export function WorkspaceCard({
)} -
) diff --git a/apps/mcp/src/widget/views/Picker.tsx b/apps/mcp/src/widget/views/Picker.tsx index d907b3c0..ba9d11da 100644 --- a/apps/mcp/src/widget/views/Picker.tsx +++ b/apps/mcp/src/widget/views/Picker.tsx @@ -81,13 +81,13 @@ export function Picker({ ) : null} {/* Bounded, scrollable list — keeps a stable height without showing scrollbar chrome. */} -
+
{filtered.length === 0 ? (

No workspaces match “{query}”.

) : ( -
+
{filtered.map((tag) => { const access = assignedTags?.find( (t) => t.containerTag === tag.containerTag,