From f43b56a7450e6eac719ed6089e967809ec3596c4 Mon Sep 17 00:00:00 2001 From: Maurice Date: Fri, 14 Aug 2026 09:41:14 +0200 Subject: [PATCH] fix(collab): let the empty chat state fill the panel The empty state went in without flex-1 while the message list it stands in for has it, so it was only as tall as its own content. The composer rode up to sit directly under the mascot with the rest of the panel left blank, which reads as a layout that failed rather than a chat waiting for its first message. --- client/src/components/Collab/CollabChatMessages.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/client/src/components/Collab/CollabChatMessages.tsx b/client/src/components/Collab/CollabChatMessages.tsx index b335c0bef..9427bee4c 100644 --- a/client/src/components/Collab/CollabChatMessages.tsx +++ b/client/src/components/Collab/CollabChatMessages.tsx @@ -13,7 +13,10 @@ export function ChatMessages(props: any) { <> {/* Messages */} {messages.length === 0 ? ( - + // flex-1, like the message list it stands in for: without it the empty + // state was only as tall as its own content and the composer rode up to + // sit right under the mascot, with the rest of the panel left blank. + ) : (