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.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
fix(proxmox): stop backups tables ballooning the trailing column
rcourtman653791289179
diff --git a/frontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsx b/frontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsxindex abc3400050..6ae36bc278 100644--- a/frontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsx+++ b/frontend-modern/src/features/proxmox/ProxmoxRecoverableTable.tsx@@ -66,7 +66,19 @@ export function ProxmoxRecoverableTable(props: {}><TableCard class={PLATFORM_TABLE_CARD_CLASS}>- <Table class="min-w-[1150px] text-xs">+ <Table class="min-w-[1150px] table-fixed text-xs">+ {/* table-fixed + colgroup so columns share the row width rather than+ dumping all the slack into the trailing Details column on wide+ viewports. */}+ <colgroup>+ <col style={{ width: '17%' }} />+ <col style={{ width: '9%' }} />+ <col style={{ width: '18%' }} />+ <col style={{ width: '11%' }} />+ <col style={{ width: '13%' }} />+ <col style={{ width: '10%' }} />+ <col style={{ width: '22%' }} />+ </colgroup><TableHeader><TableRow class={PLATFORM_TABLE_HEADER_ROW_CLASS}><SortableHeaddiff --git a/frontend-modern/src/features/proxmox/ProxmoxTasksTable.tsx b/frontend-modern/src/features/proxmox/ProxmoxTasksTable.tsxindex 246d3bd388..f18876e4cb 100644--- a/frontend-modern/src/features/proxmox/ProxmoxTasksTable.tsx+++ b/frontend-modern/src/features/proxmox/ProxmoxTasksTable.tsx@@ -49,6 +49,22 @@ export function ProxmoxTasksTable(props: {showErrorColumn: boolean;durationBaselineSeconds: number;}) {+ // table-fixed + weighted colgroup so columns share the row width instead of+ // dumping all the slack into the last column (the Error column ballooned to+ // ~440px of blank when no rows had errors). Weights are relative; each+ // visible column resolves to weight / total, matching the platform tables.+ const visibleColumns = () => [+ { id: 'status', weight: 11 },+ { id: 'guest', weight: 13 },+ { id: 'node', weight: 12 },+ { id: 'started', weight: 13 },+ { id: 'duration', weight: 21 },+ ...(props.showSizeColumn ? [{ id: 'size', weight: 12 }] : []),+ ...(props.showErrorColumn ? [{ id: 'error', weight: 18 }] : []),+ ];+ const totalColumnWeight = () =>+ visibleColumns().reduce((sum, column) => sum + column.weight, 0);+return (<Showwhen={props.tasks.length > 0}@@ -67,7 +83,14 @@ export function ProxmoxTasksTable(props: {}><TableCard class={PLATFORM_TABLE_CARD_CLASS}>- <Table class="min-w-[1000px] text-xs">+ <Table class="min-w-[1000px] table-fixed text-xs">+ <colgroup>+ <For each={visibleColumns()}>+ {(column) => (+ <col style={{ width: `${(column.weight / totalColumnWeight()) * 100}%` }} />+ )}+ </For>+ </colgroup><TableHeader><TableRow class={PLATFORM_TABLE_HEADER_ROW_CLASS}><SortableHead