mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-19 04:14:46 +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>
|
||||||
<div className="absolute right-0 bottom-0 left-0 flex justify-center px-4">
|
<div className="absolute right-0 bottom-0 left-0 flex justify-center px-4">
|
||||||
<InputBox
|
<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}
|
autoFocus={isNewThread}
|
||||||
status={thread.isLoading ? "streaming" : "ready"}
|
status={thread.isLoading ? "streaming" : "ready"}
|
||||||
context={settings.context}
|
context={settings.context}
|
||||||
|
|||||||
Reference in New Issue
Block a user