mirror of
https://github.com/stackblitz-labs/bolt.diy
synced 2025-01-22 19:06:12 +00:00
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:
commit
166c79d603
1
.gitignore
vendored
1
.gitignore
vendored
@ -22,6 +22,7 @@ dist-ssr
|
|||||||
*.sln
|
*.sln
|
||||||
*.sw?
|
*.sw?
|
||||||
|
|
||||||
|
/.history
|
||||||
/.cache
|
/.cache
|
||||||
/build
|
/build
|
||||||
.env.local
|
.env.local
|
||||||
|
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user