Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(desktop): 对齐速度卡片悬停与固定位置 (#4731)

Dashc39f363878cb
diff --git a/apps/desktop/src/renderer/features/cc-agent/RunningTokenRatePopover.tsx b/apps/desktop/src/renderer/features/cc-agent/RunningTokenRatePopover.tsx
index c001b7ea44..4c86872a57 100644
--- a/apps/desktop/src/renderer/features/cc-agent/RunningTokenRatePopover.tsx
+++ b/apps/desktop/src/renderer/features/cc-agent/RunningTokenRatePopover.tsx
@@ -193,7 +193,12 @@ export function RunningTokenRatePopover({
</button>
</Tooltip.Trigger>
</PopoverTrigger>
- <Tooltip.Content side="top" className={`${surface} break-normal`}>
+ <Tooltip.Content
+ side="top"
+ align="end"
+ sideOffset={8}
+ className={`${surface} break-normal`}
+ >
{card}
</Tooltip.Content>
</Tooltip.Root>