From 9736a8194f12c8081982c0cab1238a4e81c38e4d Mon Sep 17 00:00:00 2001 From: Christian Vidal Wolf Date: Thu, 29 Jan 2026 10:52:41 +0100 Subject: [PATCH] Fix Buy Box popup visibility: add row hover z-index and use bottom positioning --- components/AdsPerformance.tsx | 2 +- components/BuyBoxWarningBadge.tsx | 18 +++++++++--------- components/ForecastView.tsx | 2 +- components/WeeklyGrid.tsx | 2 +- 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/components/AdsPerformance.tsx b/components/AdsPerformance.tsx index 99f6545..6e1578a 100644 --- a/components/AdsPerformance.tsx +++ b/components/AdsPerformance.tsx @@ -63,7 +63,7 @@ const AdsRow: React.FC<{ } return ( - +
diff --git a/components/BuyBoxWarningBadge.tsx b/components/BuyBoxWarningBadge.tsx index 9aa1358..467712b 100644 --- a/components/BuyBoxWarningBadge.tsx +++ b/components/BuyBoxWarningBadge.tsx @@ -35,24 +35,24 @@ export const BuyBoxWarningBadge: React.FC = ({ asin, bu {/* Hover Popup */} {isHovered && ( -
-
- - ⚠️ Buy Box Lost +
+
+ + ⚠️ Buy Box Lost Reason
-
+
{data.countries.map(country => (
- {COUNTRY_FLAGS[country] || '🏳️'} + {COUNTRY_FLAGS[country] || '🏳️'}
- + {country} - + {data.reasons[country] || 'Unknown'}
diff --git a/components/ForecastView.tsx b/components/ForecastView.tsx index 768a632..95835bf 100644 --- a/components/ForecastView.tsx +++ b/components/ForecastView.tsx @@ -80,7 +80,7 @@ const ForecastRow: React.FC<{ else achievementColor = 'bg-rose-500'; return ( - + {/* Product Info */}
diff --git a/components/WeeklyGrid.tsx b/components/WeeklyGrid.tsx index 706f7b0..8d1b6f0 100644 --- a/components/WeeklyGrid.tsx +++ b/components/WeeklyGrid.tsx @@ -77,7 +77,7 @@ const WeeklyRow: React.FC<{ } return ( - +