Update virtual-machines.tsx

This commit is contained in:
MacRimi
2025-10-18 18:57:14 +02:00
parent fc5ff1782b
commit 3b22273f5a

View File

@@ -161,10 +161,10 @@ const getProgressColor = (percent: number): string => {
}
const getModalProgressColor = (percent: number): string => {
if (percent >= 95) return "bg-red-500"
if (percent >= 86) return "bg-orange-500"
if (percent >= 71) return "bg-yellow-500"
return "bg-blue-500"
if (percent >= 95) return "[&>div]:bg-red-500"
if (percent >= 86) return "[&>div]:bg-orange-500"
if (percent >= 71) return "[&>div]:bg-yellow-500"
return "[&>div]:bg-blue-500"
}
export function VirtualMachines() {