show scrollbar if innerHeight > 5000
This commit is contained in:
parent
4692c4df72
commit
4e48f161da
1 changed files with 2 additions and 1 deletions
|
|
@ -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 (
|
||||
<>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue