From 4e48f161da9a0afaee677816cc0427a17f8e67cd Mon Sep 17 00:00:00 2001 From: Nate Date: Tue, 12 Nov 2024 17:47:33 -0800 Subject: [PATCH] show scrollbar if innerHeight > 5000 --- gui/src/pages/gui/Chat.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gui/src/pages/gui/Chat.tsx b/gui/src/pages/gui/Chat.tsx index 4e3e82fc2..78bbcd262 100644 --- a/gui/src/pages/gui/Chat.tsx +++ b/gui/src/pages/gui/Chat.tsx @@ -311,7 +311,8 @@ export function Chat() { [state.history], ); - const showScrollbar = state.config.ui?.showChatScrollbar || false; + const showScrollbar = + state.config.ui?.showChatScrollbar || window.innerHeight > 5000; return ( <>