Revert "Revert "Revert scroll update for arboretum""

This commit is contained in:
Strider
2025-05-30 12:05:19 -04:00
committed by GitHub
parent 4b984dfafc
commit fdfa6e9633
2 changed files with 3 additions and 21 deletions

View File

@@ -150,7 +150,9 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
data-chat-visible={showChat}
>
<ClientOnly>{() => <Menu />}</ClientOnly>
<div ref={scrollRef} className="flex flex-col lg:flex-row w-full h-full">
<div ref={scrollRef} className={classNames("w-full h-full flex flex-col lg:flex-row", {
"overflow-y-auto": !chatStarted,
})}>
<div className={classNames(styles.Chat, 'flex flex-col flex-grow lg:min-w-[var(--chat-min-width)] h-full')}>
{!chatStarted && <IntroSection />}
<div