Add background for chat window

This commit is contained in:
eduardruzga 2024-11-20 16:47:19 +02:00
parent b39e48b7da
commit b0b6760136

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}