From 4ad61b79a31ac21943445ab6b98a76c0a9a20ed6 Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Mon, 20 Jul 2026 19:01:49 -0700 Subject: [PATCH] fix(ux): balance question-card spacing and drop stray SMTP icon dot --- .../home/components/mothership-chat/mothership-chat.tsx | 9 ++++++++- apps/sim/components/icons.tsx | 1 - 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/sim/app/workspace/[workspaceId]/home/components/mothership-chat/mothership-chat.tsx b/apps/sim/app/workspace/[workspaceId]/home/components/mothership-chat/mothership-chat.tsx index 5d11700c8f5..e61e9af3c47 100644 --- a/apps/sim/app/workspace/[workspaceId]/home/components/mothership-chat/mothership-chat.tsx +++ b/apps/sim/app/workspace/[workspaceId]/home/components/mothership-chat/mothership-chat.tsx @@ -232,8 +232,15 @@ const AssistantMessageRow = memo(function AssistantMessageRow({ questionDismissed, }) + // A visible question card (active or answered recap) sits 12px below the + // preceding prose (chat-content's `space-y-3`). The row's default `pb-6` + // would leave 24px underneath — asymmetric. Shrink the trailing gap to match + // so the card breathes equally top and bottom. Dismissed cards fall back to + // the normal message rhythm (they render the standard actions row instead). + const showsQuestionCard = endsWithQuestion && !questionDismissed + return ( -
+
) { strokeLinecap='round' strokeLinejoin='round' /> - ) }