feat:更换返回对话页的图标

This commit is contained in:
肖应宇 2026-04-14 10:43:34 +08:00
parent b0efb7d0d7
commit 93d6e3ae07
1 changed files with 5 additions and 10 deletions

View File

@ -363,7 +363,7 @@ export function InputBox({
className={cn(
"flex transition-all duration-300 ease-out",
!effectiveIsFocused &&
"pointer-events-none invisible h-[0px] translate-y-2 p-[0px] opacity-0",
"pointer-events-none invisible h-[0px] translate-y-2 p-[0px] opacity-0",
)}
>
<PromptInputTools className="min-w-0 flex-1">
@ -668,16 +668,11 @@ function HistoryButton({
router.replace(`/workspace/chats/${threadId}?is_chatting=true`)
}
>
<svg
className="[&>path:first-child]:group-hover:fill-[#8E47F0] [&>path:last-child]:group-hover:stroke-[#8E47F0]"
xmlns="http://www.w3.org/2000/svg"
height="24px"
viewBox="0 -960 960 960"
width="24px"
fill="#1f1f1f"
>
<path d="M480-120q-138 0-240.5-91.5T122-440h82q14 104 92.5 172T480-200q117 0 198.5-81.5T760-480q0-117-81.5-198.5T480-760q-69 0-129 32t-101 88h110v80H120v-240h80v94q51-64 124.5-99T480-840q75 0 140.5 28.5t114 77q48.5 48.5 77 114T840-480q0 75-28.5 140.5t-77 114q-48.5 48.5-114 77T480-120Zm112-192L440-464v-216h80v184l128 128-56 56Z" />
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle cx="9" cy="9" r="8.5" stroke="#150033" />
<path d="M9 6V10H12" stroke="#150033" strokeLinecap="round" strokeLinejoin="round" />
</svg>
</PromptInputButton>
</Tooltip>
);