adaption
This commit is contained in:
@@ -24,13 +24,13 @@ export function StatCard({ icon: Icon, label, value, color, indicator }: StatCar
|
|||||||
<div className="ml-4 flex-1">
|
<div className="ml-4 flex-1">
|
||||||
<p className="text-sm font-medium text-gray-600">{label}</p>
|
<p className="text-sm font-medium text-gray-600">{label}</p>
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
<p className="text-2xl font-bold text-gray-900">{value}</p>
|
|
||||||
{indicator && (
|
{indicator && (
|
||||||
<span
|
<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"
|
title="Timer running"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
<p className="text-2xl font-bold text-gray-900">{value}</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -145,7 +145,7 @@ export function DashboardPage() {
|
|||||||
<div className="flex items-center justify-end gap-1.5">
|
<div className="flex items-center justify-end gap-1.5">
|
||||||
{target.hasOngoingTimer && (
|
{target.hasOngoingTimer && (
|
||||||
<span
|
<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"
|
title="Timer running — balance updates every 30 s"
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|||||||
Reference in New Issue
Block a user