From 73d6e581b73a06663acba5c2c35caca6dd0cd481 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Sun, 15 Mar 2026 18:52:57 +0100 Subject: [PATCH] feat(email-viewer): add security tooltips, contact actions, and scroll fix --- components/email/email-viewer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/email/email-viewer.tsx b/components/email/email-viewer.tsx index 6e9001a3..c296c0d0 100644 --- a/components/email/email-viewer.tsx +++ b/components/email/email-viewer.tsx @@ -434,7 +434,7 @@ function InfoTooltip({ text }: { text: string }) { className="text-muted-foreground/50 hover:text-muted-foreground transition-colors" onMouseEnter={show} onMouseLeave={hide} - onClick={(e) => { e.stopPropagation(); open ? hide() : show(); }} + onClick={(e) => { e.stopPropagation(); if (open) { hide(); } else { show(); } }} aria-label="More info" >