diff --git a/src/components/GlobalChatPane.tsx b/src/components/GlobalChatPane.tsx index f0ead919..c06828c9 100644 --- a/src/components/GlobalChatPane.tsx +++ b/src/components/GlobalChatPane.tsx @@ -210,29 +210,34 @@ export function GlobalChatPane({ embedded = false, mobileChatMode, onMobileChatM // Embedded mode: Render inline without fixed positioning if (embedded) { + // Hide header when there's a mode toggle (mobile view with switching) + const showHeader = !mobileChatMode; + return (
- {/* Header */} -
-

{t('globalChat')}

-
- {messages.length > 0 && ( - - - - - {t('clearChat')} - - )} + {/* Header - hidden when mobile toggle is present */} + {showHeader && ( +
+

{t('globalChat')}

+
+ {messages.length > 0 && ( + + + + + {t('clearChat')} + + )} +
-
+ )} {/* Messages */}