fix: 修复历史图标不变色的问题

This commit is contained in:
肖应宇 2026-04-14 11:48:22 +08:00
parent 6367cf013c
commit 7ddc3a1742
1 changed files with 20 additions and 3 deletions

View File

@ -668,9 +668,26 @@ function HistoryButton({
router.replace(`/workspace/chats/${threadId}?is_chatting=true`) router.replace(`/workspace/chats/${threadId}?is_chatting=true`)
} }
> >
<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <svg
<circle cx="9" cy="9" r="8.5" stroke="#150033" /> className="transition-[stroke] duration-200"
<path d="M9 6V10H12" stroke="#150033" strokeLinecap="round" strokeLinejoin="round" /> width="18"
height="18"
viewBox="0 0 18 18"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<circle
className="stroke-[#150033] transition-[stroke] duration-200 group-hover:stroke-[#8E47F0]"
cx="9"
cy="9"
r="8.5"
/>
<path
className="stroke-[#150033] transition-[stroke] duration-200 group-hover:stroke-[#8E47F0]"
d="M9 6V10H12"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg> </svg>
</PromptInputButton> </PromptInputButton>