mirror of
https://github.com/MacRimi/ProxMenux.git
synced 2025-11-18 11:36:17 +00:00
Update virtual-machines.tsx
This commit is contained in:
@@ -820,7 +820,7 @@ export function VirtualMachines() {
|
|||||||
</div>
|
</div>
|
||||||
<Progress
|
<Progress
|
||||||
value={selectedVM.cpu * 100}
|
value={selectedVM.cpu * 100}
|
||||||
className={`h-2 bg-background/30 group-hover:bg-background/30 transition-colors ${getModalProgressColor(selectedVM.cpu * 100)}`}
|
className={`h-2 sm:group-hover:bg-background/50 transition-colors ${getModalProgressColor(selectedVM.cpu * 100)}`}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -835,7 +835,7 @@ export function VirtualMachines() {
|
|||||||
</div>
|
</div>
|
||||||
<Progress
|
<Progress
|
||||||
value={(selectedVM.mem / selectedVM.maxmem) * 100}
|
value={(selectedVM.mem / selectedVM.maxmem) * 100}
|
||||||
className={`h-2 bg-background/30 group-hover:bg-background/30 transition-colors ${getModalProgressColor((selectedVM.mem / selectedVM.maxmem) * 100)}`}
|
className={`h-2 sm:group-hover:bg-background/50 transition-colors ${getModalProgressColor((selectedVM.mem / selectedVM.maxmem) * 100)}`}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -850,7 +850,7 @@ export function VirtualMachines() {
|
|||||||
</div>
|
</div>
|
||||||
<Progress
|
<Progress
|
||||||
value={(selectedVM.disk / selectedVM.maxdisk) * 100}
|
value={(selectedVM.disk / selectedVM.maxdisk) * 100}
|
||||||
className={`h-2 bg-background/30 group-hover:bg-background/30 transition-colors ${getModalProgressColor((selectedVM.disk / selectedVM.maxdisk) * 100)}`}
|
className={`h-2 sm:group-hover:bg-background/50 transition-colors ${getModalProgressColor((selectedVM.disk / selectedVM.maxdisk) * 100)}`}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user