mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-03 14:22:13 +08:00
feat: pull up the input box when creating new thread
This commit is contained in:
@@ -126,7 +126,10 @@ export default function ChatPage() {
|
||||
</div>
|
||||
<div className="absolute right-0 bottom-0 left-0 flex justify-center px-4">
|
||||
<InputBox
|
||||
className="w-full max-w-(--container-width-md)"
|
||||
className={cn(
|
||||
"w-full max-w-(--container-width-md) transition-transform duration-300 ease-in-out",
|
||||
isNewThread && "-translate-y-[calc(50vh-120px)]",
|
||||
)}
|
||||
autoFocus={isNewThread}
|
||||
status={thread.isLoading ? "streaming" : "ready"}
|
||||
context={settings.context}
|
||||
|
||||
Reference in New Issue
Block a user