From f8935955cec372ca2a86dcc70448e863dd16f035 Mon Sep 17 00:00:00 2001 From: Luke Policinski Date: Thu, 20 Aug 2026 21:04:26 -0400 Subject: [PATCH] Keep chat messages inside the chat container --- components/chat/ChatLobby.vue | 13 +++++++++---- components/chat/ChatMessages.vue | 4 ++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/components/chat/ChatLobby.vue b/components/chat/ChatLobby.vue index 8b2f3d7b2..95e2157b3 100644 --- a/components/chat/ChatLobby.vue +++ b/components/chat/ChatLobby.vue @@ -121,7 +121,7 @@ import Empty from "~/components/ui/empty/Empty.vue"; :group-key="isMerged ? viewFilter : ''" variant="global" :is-minimized="isMinimized" - class="flex-1 overflow-y-auto max-h-96" + class="min-h-0 flex-1 overflow-y-auto" :last-read-count="lastReadMessageCount" @bottom-state-change="handleBottomStateChange" /> @@ -294,7 +294,12 @@ import Empty from "~/components/ui/empty/Empty.vue"; - + + - +

{{ $t("chat.no_messages_yet", "No messages yet") }} diff --git a/components/chat/ChatMessages.vue b/components/chat/ChatMessages.vue index 0207fc0c1..509d7e83c 100644 --- a/components/chat/ChatMessages.vue +++ b/components/chat/ChatMessages.vue @@ -4,8 +4,8 @@ ref="chatMessages" :class=" variant === 'global' - ? 'flex-1 overflow-y-auto p-3' - : 'flex-1 overflow-y-auto max-h-screen' + ? 'min-h-0 flex-1 overflow-y-auto p-3' + : 'min-h-0 flex-1 overflow-y-auto' " >