Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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 (
<div className={rowClassName}>
<div className={cn(rowClassName, showsQuestionCard && 'pb-3')}>
<MessageContent
blocks={blocks}
fallbackContent={message.content}
Expand Down
1 change: 0 additions & 1 deletion apps/sim/components/icons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5737,7 +5737,6 @@ export function SmtpIcon(props: SVGProps<SVGSVGElement>) {
strokeLinecap='round'
strokeLinejoin='round'
/>
<circle cx='24' cy='6' r='4' fill='currentColor' stroke='none' />
</svg>
)
}
Expand Down
Loading