Update virtual-machines.tsx

This commit is contained in:
MacRimi
2025-10-18 18:37:22 +02:00
parent 514976561f
commit 4d3b3d984d

View File

@@ -380,7 +380,7 @@ export function VirtualMachines() {
return ( return (
<div className="space-y-6"> <div className="space-y-6">
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6"> <div className="grid grid-cols-2 lg:grid-cols-4 gap-6">
<Card className="bg-card border-border"> <Card className="bg-card border-border">
<CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2"> <CardHeader className="flex flex-row items-center justify-between space-y-0 pb-2">
<CardTitle className="text-sm font-medium text-muted-foreground">Total VMs & LXCs</CardTitle> <CardTitle className="text-sm font-medium text-muted-foreground">Total VMs & LXCs</CardTitle>
@@ -602,8 +602,8 @@ export function VirtualMachines() {
<Square className="h-5 w-5 text-red-500 fill-current flex-shrink-0" /> <Square className="h-5 w-5 text-red-500 fill-current flex-shrink-0" />
)} )}
<Badge variant="outline" className={`text-xs flex-shrink-0 ${typeBadge.color}`}> <Badge variant="outline" className={`${getTypeBadge(vm.type).color} flex-shrink-0`}>
{typeBadge.label} {getTypeBadge(vm.type).label}
</Badge> </Badge>
{/* Name and ID */} {/* Name and ID */}