Skip to content

armgit / Pulse

Public Imported from GitHub
0

Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.

Fix guest row style typing

rcourtman8b4a81be36f1
diff --git a/frontend-modern/src/components/Dashboard/guestRowModel.tsx b/frontend-modern/src/components/Dashboard/guestRowModel.tsx
index 6b6c12e199..aa9b78a65c 100644
--- a/frontend-modern/src/components/Dashboard/guestRowModel.tsx
+++ b/frontend-modern/src/components/Dashboard/guestRowModel.tsx
@@ -335,8 +335,8 @@ export const getGuestColumnStyle = (
const style: JSX.CSSProperties = {};
if (sizing.width) style.width = sizing.width;
- if (sizing.minWidth) style.minWidth = sizing.minWidth;
- if (sizing.maxWidth) style.maxWidth = sizing.maxWidth;
+ if (sizing.minWidth) style['min-width'] = sizing.minWidth;
+ if (sizing.maxWidth) style['max-width'] = sizing.maxWidth;
return Object.keys(style).length > 0 ? style : undefined;
};