From 8a1038be91d8072c8da7b8d1d5456485d4906e4c Mon Sep 17 00:00:00 2001 From: Dotta Date: Wed, 17 Jun 2026 18:06:34 +0000 Subject: [PATCH] fix(ui): add vertical margin to composer handoff preview row (PAP-11281) The 'No agent will be notified' / 'Wake' preview row sat flush against the 'Did you mean' mention coach box above it and the Send button row below it. Wrap it in a my-2 spacer and skip the wrapper when the preview is empty so no phantom margin is rendered. Co-Authored-By: Claude Opus 4.8 --- ui/src/components/IssueChatThread.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ui/src/components/IssueChatThread.tsx b/ui/src/components/IssueChatThread.tsx index 263c99be462..ebf8de84e31 100644 --- a/ui/src/components/IssueChatThread.tsx +++ b/ui/src/components/IssueChatThread.tsx @@ -3840,8 +3840,10 @@ const IssueChatComposer = forwardRef ) : null} - {body.trim() ? ( - + {body.trim() && handoffPreview.kind !== "none" ? ( +
+ +
) : null}