From eb053425c074ab150f67181ba7cf62668e0e7b49 Mon Sep 17 00:00:00 2001 From: kaitranntt Date: Sun, 25 Jan 2026 16:23:54 -0500 Subject: [PATCH] fix(ui): improve pause toggle position in flow-viz account cards - move pause toggle inline with email (was absolute positioned) - always visible with subtle styling (not hover-only) - amber highlight when paused for quick visual scan --- .../account/flow-viz/account-card.tsx | 69 +++++++++---------- 1 file changed, 34 insertions(+), 35 deletions(-) diff --git a/ui/src/components/account/flow-viz/account-card.tsx b/ui/src/components/account/flow-viz/account-card.tsx index 29dff515..569d640c 100644 --- a/ui/src/components/account/flow-viz/account-card.tsx +++ b/ui/src/components/account/flow-viz/account-card.tsx @@ -122,42 +122,8 @@ export function AccountCard({ transform: `translate(${offset.x}px, ${offset.y}px)${isDragging ? ' scale(1.05)' : ''}`, }} > - {/* Pause toggle button - visible on hover or when paused */} - {onPauseToggle && ( - - - - - - - {account.paused ? 'Resume account' : 'Pause account'} - - - - )} -
+
{cleanEmail(account.email)} + {onPauseToggle && ( + + + + + + + {account.paused ? 'Resume account' : 'Pause account'} + + + + )}