diff --git a/src/apps/chat/AppChat.tsx b/src/apps/chat/AppChat.tsx index e174704e7..ea776a775 100644 --- a/src/apps/chat/AppChat.tsx +++ b/src/apps/chat/AppChat.tsx @@ -621,7 +621,7 @@ export function AppChat() { order={idx} collapsible={chatPanes.length === 2} defaultSize={(_panesCount === 3 && idx === 1) ? 34 : Math.round(100 / _panesCount)} - minSize={20} + // minSize={20 /* IMPORTANT: this forces a reflow even on a simple on hover */} onClick={(event) => { const setFocus = chatPanes.length < 2 || !event.altKey; setFocusedPaneIndex(setFocus ? idx : -1); diff --git a/src/apps/chat/components/ChatMessageList.tsx b/src/apps/chat/components/ChatMessageList.tsx index 28c368702..3cf7a9287 100644 --- a/src/apps/chat/components/ChatMessageList.tsx +++ b/src/apps/chat/components/ChatMessageList.tsx @@ -282,6 +282,10 @@ export function ChatMessageList(props: { p: 0, ...props.sx, + // we added these after removing the minSize={20} (%) from the containing panel. + minWidth: '18rem', + // minHeight: '180px', // not need for this, as it's already an overflow scrolling container, so one can reduce it to a pixel + // fix for the double-border on the last message (one by the composer, one to the bottom of the message) // marginBottom: '-1px',