fix(pitch-deck): center KPI card labels and values
Some checks failed
Build pitch-deck / build-push-deploy (push) Has been cancelled
CI / python-lint (push) Has been cancelled
CI / go-lint (push) Has been cancelled
CI / nodejs-lint (push) Has been cancelled
CI / test-python-voice (push) Has been cancelled
CI / test-go-consent (push) Has been cancelled
CI / test-bqas (push) Has been cancelled

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Benjamin Admin
2026-04-15 23:05:46 +02:00
parent 4b06933576
commit b4e8b74afb

View File

@@ -40,8 +40,8 @@ export default function KPICard({
style={{ backgroundColor: color }}
/>
<p className="text-[10px] uppercase tracking-wider text-white/40 mb-1">{label}</p>
<div className="flex items-end gap-2">
<p className="text-[10px] uppercase tracking-wider text-white/40 mb-1 text-center">{label}</p>
<div className="flex items-end justify-center gap-2">
<p className="text-2xl font-bold text-white leading-none">
<AnimatedCounter target={value} prefix={prefix} suffix={suffix} duration={1200} decimals={decimals} />
</p>
@@ -52,7 +52,7 @@ export default function KPICard({
)}
</div>
{subLabel && (
<p className="text-[10px] text-white/30 mt-1">{subLabel}</p>
<p className="text-[10px] text-white/30 mt-1 text-center">{subLabel}</p>
)}
</motion.div>
)