fix(web): pad compact tier chart domain

This commit is contained in:
dahyeon committed 2026-06-08 01:34:09 -07:00
1 parent b6dad78d02
commit b2d438785b
1 file changed
+1 -1
+1 -1
View File
@@ -380,7 +380,7 @@ export default function TierHistoryChart({
const min = points[0].ts;
const max = points[points.length - 1].ts;
const span = Math.max(1, max - min);
const padding = Math.max(span * 0.08, 12 * 60 * 60 * 1000);
const padding = Math.max(span * 0.18, 24 * 60 * 60 * 1000);
return [min - padding, max + padding] as const;
}, [points, summaryVariant]);