From 3f760d9762aaecd0c81b293f21113ecbc78e7103 Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Tue, 26 Aug 2025 19:31:11 +0000 Subject: [PATCH] fix: actually fix table layout in PVE and PBS node tables - Fixed the correct components (PVENodeTable and PBSNodeTable) - Use inline styles for table-layout: fixed and width: 1100px - Set explicit column widths with inline styles - Add white-space: nowrap to prevent text wrapping - Tables now properly scroll horizontally on narrow screens --- .../src/components/shared/PBSNodeTable.tsx | 32 +++++++++---------- .../src/components/shared/PVENodeTable.tsx | 30 ++++++++--------- 2 files changed, 31 insertions(+), 31 deletions(-) diff --git a/frontend-modern/src/components/shared/PBSNodeTable.tsx b/frontend-modern/src/components/shared/PBSNodeTable.tsx index ef1fafca8..3dc1cc6d9 100644 --- a/frontend-modern/src/components/shared/PBSNodeTable.tsx +++ b/frontend-modern/src/components/shared/PBSNodeTable.tsx @@ -85,32 +85,32 @@ export const PBSNodeTable: Component = (props) => { return (
-
- +
+
- - - - - - - - @@ -161,8 +161,8 @@ export const PBSNodeTable: Component = (props) => { isClickable && props.onNodeClick(pbs.name); }} > - - - -
+ PBS Instances + Status + Datastores + Backups + CPU + Memory + Storage Used + Uptime
-
+
+
- + {pbs.name}
@@ -210,7 +210,7 @@ export const PBSNodeTable: Component = (props) => { {props.backupCounts?.[pbs.name] || 0}
+ -}> = (props) => { /> + -}> = (props) => { /> + 0} fallback={-}> = (props) => { return (
-
- +
+
- - - {(header) => ( - )} - - - - @@ -219,8 +219,8 @@ export const PVENodeTable: Component = (props) => { `} onClick={() => props.onNodeClick(node.name)} > - )} - - -
+ PVE Nodes + Status + Cluster + {header} + CPU + Memory + Storage + Uptime
-
+
+
{node.name} @@ -249,7 +249,7 @@ export const PVENodeTable: Component = (props) => {
+ -}> = (props) => { /> + -}> = (props) => { /> + -}>