Fix Pace of Aging scale labels

This commit is contained in:
siliconsolder committed 2026-08-21 08:54:40 +02:00
1 parent 5ce41c1fb9
commit bf75213f29
1 file changed
+3 -3
+3 -3
View File
@@ -850,7 +850,7 @@ function HealthspanOrb({ healthspan }: { healthspan: ReturnType<typeof calculate
} }
function PaceScale({ value }: { value: number | null }) { function PaceScale({ value }: { value: number | null }) {
const normalized = value === null ? 50 : clamp(((value - 0.5) / 1) * 50, 0, 100); const normalized = value === null ? 50 : clamp(((value - 0.5) / 1) * 100, 0, 100);
return ( return (
<div className="mt-3"> <div className="mt-3">
@@ -871,9 +871,9 @@ function PaceScale({ value }: { value: number | null }) {
/> />
</div> </div>
<div className="mt-1 flex justify-between text-[11px] font-semibold text-zinc-600"> <div className="mt-1 flex justify-between text-[11px] font-semibold text-zinc-600">
<span>-1.0x</span> <span>0.5x</span>
<span>1.0x</span> <span>1.0x</span>
<span>3.0x</span> <span>1.5x</span>
</div> </div>
</div> </div>
); );