From 4b40be6b5a4d5914f071dedbcdb607c178865a80 Mon Sep 17 00:00:00 2001 From: Francis Cao Date: Tue, 19 May 2026 12:13:31 -0700 Subject: [PATCH] fix overlay for 0% --- .../(main)/websites/[websiteId]/(reports)/heatmaps/Heatmap.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/(main)/websites/[websiteId]/(reports)/heatmaps/Heatmap.tsx b/src/app/(main)/websites/[websiteId]/(reports)/heatmaps/Heatmap.tsx index d43d951d5..b8d8d5353 100644 --- a/src/app/(main)/websites/[websiteId]/(reports)/heatmaps/Heatmap.tsx +++ b/src/app/(main)/websites/[websiteId]/(reports)/heatmaps/Heatmap.tsx @@ -479,7 +479,7 @@ function ScrollHeatmapView({ style={{ top: `${band.fromPct}%`, height: `${Math.max(0, band.toPct - band.fromPct)}%`, - background: `hsla(${hue}, 90%, 55%, ${0.12 + intensity * 0.45})`, + background: intensity > 0 ? `hsla(${hue}, 90%, 55%, ${0.12 + intensity * 0.45})` : 'none', }} title={`${band.toPct}% depth • ${formatLongNumber(band.reached)} sessions reached`} >