File tree Expand file tree Collapse file tree
app/workspace/[workspaceId]/home/components/mothership-chat Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -232,8 +232,15 @@ const AssistantMessageRow = memo(function AssistantMessageRow({
232232 questionDismissed,
233233 } )
234234
235+ // A visible question card (active or answered recap) sits 12px below the
236+ // preceding prose (chat-content's `space-y-3`). The row's default `pb-6`
237+ // would leave 24px underneath — asymmetric. Shrink the trailing gap to match
238+ // so the card breathes equally top and bottom. Dismissed cards fall back to
239+ // the normal message rhythm (they render the standard actions row instead).
240+ const showsQuestionCard = endsWithQuestion && ! questionDismissed
241+
235242 return (
236- < div className = { rowClassName } >
243+ < div className = { cn ( rowClassName , showsQuestionCard && 'pb-3' ) } >
237244 < MessageContent
238245 blocks = { blocks }
239246 fallbackContent = { message . content }
Original file line number Diff line number Diff line change @@ -5737,7 +5737,6 @@ export function SmtpIcon(props: SVGProps<SVGSVGElement>) {
57375737 strokeLinecap='round'
57385738 strokeLinejoin='round'
57395739 />
5740- <circle cx='24' cy='6' r='4' fill='currentColor' stroke='none' />
57415740 </svg>
57425741 )
57435742}
You can’t perform that action at this time.
0 commit comments