mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-06-26 18:26:38 +00:00
Revert "Revert "Revert scroll update for arboretum""
This commit is contained in:
parent
4b984dfafc
commit
fdfa6e9633
@ -1,26 +1,6 @@
|
||||
.container {
|
||||
width: 100%;
|
||||
padding: 1rem;
|
||||
max-height: calc(100vh - 4rem);
|
||||
overflow-y: auto;
|
||||
scrollbar-gutter: stable;
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 8px;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background-color: var(--bolt-elements-borderColor);
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb:hover {
|
||||
background-color: var(--bolt-elements-textTertiary);
|
||||
}
|
||||
}
|
||||
|
||||
.grid {
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user