Update network-metrics.tsx

This commit is contained in:
MacRimi
2025-10-23 12:25:17 +02:00
parent b5ed10689d
commit 8d5ea66ecc

View File

@@ -215,15 +215,15 @@ export function NetworkMetrics() {
<CardContent> <CardContent>
<div className="flex flex-col gap-2"> <div className="flex flex-col gap-2">
<div className="flex items-center justify-between"> <div className="flex items-center justify-between">
<span className="text-sm text-muted-foreground">Received:</span> <span className="text-sm text-muted-foreground hidden md:inline">Received:</span>
<span className="text-base lg:text-xl font-bold text-green-500"> {trafficInFormatted}</span> <span className="text-base lg:text-xl font-bold text-green-500"> {trafficInFormatted}</span>
</div> </div>
<div className="flex items-center justify-between"> <div className="flex items-center justify-between">
<span className="text-sm text-muted-foreground">Sent:</span> <span className="text-sm text-muted-foreground hidden md:inline">Sent:</span>
<span className="text-base lg:text-xl font-bold text-blue-500"> {trafficOutFormatted}</span> <span className="text-base lg:text-xl font-bold text-blue-500"> {trafficOutFormatted}</span>
</div> </div>
</div> </div>
<p className="text-xs text-muted-foreground mt-2">Total data transferred</p> <p className="text-xs text-muted-foreground mt-2 hidden md:block">Total data transferred</p>
</CardContent> </CardContent>
</Card> </Card>