Merge pull request #350 from wonderwhy-er/Add-background-for-chat-window

(Ready for review) - Small visual fix. Add background for chat window(currently transparent and looks ugly)
This commit is contained in:
Eduard Ruzga 2024-11-20 18:13:40 +02:00 committed by GitHub
commit 166c79d603
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 3 deletions

1
.gitignore vendored
View File

@ -22,6 +22,7 @@ dist-ssr
*.sln *.sln
*.sw? *.sw?
/.history
/.cache /.cache
/build /build
.env.local .env.local

View File

@ -192,9 +192,11 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
}} }}
</ClientOnly> </ClientOnly>
<div <div
className={classNames('relative w-full max-w-chat mx-auto z-prompt', { className={classNames(
'sticky bottom-0': chatStarted, 'bg-bolt-elements-background-depth-2 border-y border-bolt-elements-borderColor relative w-full max-w-chat mx-auto z-prompt',
})} {
'sticky bottom-0': chatStarted
})}
> >
<ModelSelector <ModelSelector
key={provider?.name + ':' + modelList.length} key={provider?.name + ':' + modelList.length}