show scrollbar if innerHeight > 5000

This commit is contained in:
Nate 2024-11-12 17:47:33 -08:00
parent 4692c4df72
commit 4e48f161da

View file

@ -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 (
<>