feat: implement scroll to bottom
This commit is contained in:
parent
f15cd0c936
commit
857a99736f
5 changed files with 62 additions and 12 deletions
|
|
@ -18,7 +18,7 @@ export function Chat({ id, initialMessages }: ChatProps) {
|
|||
})
|
||||
|
||||
return (
|
||||
<div className="h-full w-full overflow-auto bg-muted/50 pb-[200px] pt-4 md:pt-10">
|
||||
<div className="pb-[200px] pt-4 md:pt-10">
|
||||
<ChatList messages={messages} />
|
||||
<ChatPanel
|
||||
id={id}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue