This commit is contained in:
simon.franken
2026-03-09 11:20:53 +01:00
parent c9bd0abf18
commit 1049410fee
2 changed files with 3 additions and 3 deletions

View File

@@ -24,13 +24,13 @@ export function StatCard({ icon: Icon, label, value, color, indicator }: StatCar
<div className="ml-4 flex-1">
<p className="text-sm font-medium text-gray-600">{label}</p>
<div className="flex items-center gap-2">
<p className="text-2xl font-bold text-gray-900">{value}</p>
{indicator && (
<span
className="inline-block h-2.5 w-2.5 rounded-full bg-green-500 animate-pulse"
className="inline-block h-2.5 w-2.5 rounded-full bg-red-500 animate-pulse"
title="Timer running"
/>
)}
<p className="text-2xl font-bold text-gray-900">{value}</p>
</div>
</div>
</div>

View File

@@ -145,7 +145,7 @@ export function DashboardPage() {
<div className="flex items-center justify-end gap-1.5">
{target.hasOngoingTimer && (
<span
className="inline-block h-2 w-2 rounded-full bg-green-500 animate-pulse"
className="inline-block h-2 w-2 rounded-full bg-red-500 animate-pulse"
title="Timer running — balance updates every 30 s"
/>
)}