diff --git a/ui/desktop/src/components/BaseChat.tsx b/ui/desktop/src/components/BaseChat.tsx index dabe49dc3b..3ca243e957 100644 --- a/ui/desktop/src/components/BaseChat.tsx +++ b/ui/desktop/src/components/BaseChat.tsx @@ -533,17 +533,17 @@ function BaseChatContent({ ) : !recipeConfig && showPopularTopics ? ( /* Show PopularChatTopics when no messages, no recipe, and showPopularTopics is true (Pair view) */ -
- append(text)} /> - - {/* Show pending invites if enabled - positioned on the right side */} +
+ {/* Show pending invites above popular topics if enabled */} {showPendingInvites && ( )} + + append(text)} />
) : showPendingInvites ? ( /* Show only pending invites when no messages and showPendingInvites is true */ -
+
) : null /* Show nothing when messages.length === 0 && suppressEmptyState === true */ diff --git a/ui/desktop/src/components/PendingInvitesInHistory.tsx b/ui/desktop/src/components/PendingInvitesInHistory.tsx index 38069983b0..0a29a174f4 100644 --- a/ui/desktop/src/components/PendingInvitesInHistory.tsx +++ b/ui/desktop/src/components/PendingInvitesInHistory.tsx @@ -192,13 +192,13 @@ const PendingInvitesInHistory: React.FC = ({ ); } - // Separate section style (shows as a dedicated section matching PopularChatTopics) + // Separate section style (shows above PopularChatTopics with same styling) return ( -
+

Outstanding invitations ({pendingInvites.length})

-
+
{pendingInvites.map((invite) => (