From de128728d62f65efd5c22e270988df6e886cfeb9 Mon Sep 17 00:00:00 2001 From: Jinjing <6427696+AmethystLiang@users.noreply.github.com> Date: Mon, 13 Apr 2026 15:20:33 -0700 Subject: [PATCH] fix: remove bottom gap in active agent hovercard (#596) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: remove bottom gap in active agent hovercard Move the container's bottom padding into the hide button itself so it sits flush at the card edge with no visible gap. * fix: switch agent activity badge from hover to click popover Hover was unpredictable — replace HoverCard with Popover so the active-agent list opens on click instead. --- src/renderer/src/App.tsx | 18 +++++++++--------- src/renderer/src/assets/main.css | 4 ++-- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/src/renderer/src/App.tsx b/src/renderer/src/App.tsx index 431bd6827..92ed4143f 100644 --- a/src/renderer/src/App.tsx +++ b/src/renderer/src/App.tsx @@ -33,7 +33,7 @@ import { registerUpdaterBeforeUnloadBypass } from './lib/updater-beforeunload' import { buildWorkspaceSessionPayload } from './lib/workspace-session' import { countWorkingAgents, countWorkingAgentsPerWorktree } from './lib/agent-status' import { activateAndRevealWorktree } from './lib/worktree-activation' -import { HoverCard, HoverCardTrigger, HoverCardContent } from '@/components/ui/hover-card' +import { Popover, PopoverTrigger, PopoverContent } from '@/components/ui/popover' import { findWorktreeById } from '@/store/slices/worktree-helpers' const isMac = navigator.userAgent.includes('Mac') @@ -560,9 +560,9 @@ function App(): React.JSX.Element { )}