From 3abcf363fe2f12d6ad766b894ec85d471e5372a1 Mon Sep 17 00:00:00 2001 From: Cho Young-Hwi Date: Mon, 4 May 2026 22:34:01 +0900 Subject: [PATCH] [#1042] Move heartbeat dot into SVG for pixel-perfect alignment Co-Authored-By: Claude Opus 4.6 (1M context) --- src/components/airdrop/CampaignHero.tsx | 36 +++++++++++++++---------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/src/components/airdrop/CampaignHero.tsx b/src/components/airdrop/CampaignHero.tsx index 95dc6b0..7a78aa4 100644 --- a/src/components/airdrop/CampaignHero.tsx +++ b/src/components/airdrop/CampaignHero.tsx @@ -186,23 +186,31 @@ function MCapChart({ currentFdv }: { currentFdv: number }) { strokeWidth={2} /> )} - - {/* Heartbeat dot — positioned via CSS over the SVG */} -
-
- - - - -
-
+ {/* Heartbeat dot — inside SVG for pixel-perfect alignment */} + {progress > 0 && ( + <> + + + + + + + )} + {/* Scale labels */} -
+
$0 $50M $100M