Fix layout: composer fixo no rodape (ThreadPrimitive.Root flex-1 flex-col)
This commit is contained in:
parent
3557bf8479
commit
71b5edd139
1 changed files with 1 additions and 1 deletions
|
|
@ -291,7 +291,7 @@ export function Chat({ onEditSettings }: ChatProps) {
|
|||
</header>
|
||||
|
||||
<AssistantRuntimeProvider runtime={runtime}>
|
||||
<ThreadPrimitive.Root>
|
||||
<ThreadPrimitive.Root className="flex min-h-0 flex-1 flex-col">
|
||||
<ThreadPrimitive.Viewport className="min-h-0 flex-1 overflow-y-auto px-4 py-4">
|
||||
{items.length === 0 && (
|
||||
<div className="flex h-full items-center justify-center text-sm text-slate-600">
|
||||
|
|
|
|||
Loading…
Reference in a new issue