feat: adjust position

This commit is contained in:
Henry Li
2026-02-07 18:00:24 +08:00
parent 17b2630b73
commit 4dc3cdac48

View File

@@ -384,7 +384,7 @@ export function InputBox({
</PromptInputTools> </PromptInputTools>
</PromptInputFooter> </PromptInputFooter>
{isNewThread && searchParams.get("mode") !== "skill" && ( {isNewThread && searchParams.get("mode") !== "skill" && (
<div className="absolute right-0 -bottom-24 left-0 z-0 flex items-center justify-center"> <div className="absolute right-0 -bottom-20 left-0 z-0 flex items-center justify-center">
<SuggestionList /> <SuggestionList />
</div> </div>
)} )}
@@ -419,7 +419,7 @@ function SuggestionList() {
[textInput], [textInput],
); );
return ( return (
<Suggestions className="h-32 w-fit"> <Suggestions className="min-h-16 w-fit items-start">
<ConfettiButton <ConfettiButton
className="text-muted-foreground cursor-pointer rounded-full px-4 text-xs font-normal" className="text-muted-foreground cursor-pointer rounded-full px-4 text-xs font-normal"
variant="outline" variant="outline"