From 037919abed0224a54810d6a66b69a26d34c4f428 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Wed, 20 May 2026 10:42:12 +0100 Subject: [PATCH] Rebalance Kubernetes nodes and deployments table column widths Same equal-width problem on /kubernetes/nodes: the Nodes table (9 columns) and the Deployments table (7 columns) both ran under table-fixed with no per-column desktop widths, so longer values like runtime "containerd://1.7.20" and capacity "6 cores / 51.0 GB" truncated, while the four integer-count Deployments columns (Desired / Updated / Ready / Available) each held 183px for a single-digit value. Set explicit md:w-[...] on every TableHead so the longer-content columns (Node, Runtime, Capacity, Deployment, Namespace) get the room they need, the CPU and Memory bars get a balanced share each, and the short text and integer-count columns trim to fit their headers and values. Mobile widths are unchanged. Leaving KubernetesClustersTable.tsx alone for now: another agent has it mid-edit. Same fix pattern can be applied to it once their work lands. --- .../kubernetes/KubernetesDeploymentsTable.tsx | 27 ++++++++++---- .../kubernetes/KubernetesNodesTable.tsx | 35 ++++++++++++++----- 2 files changed, 46 insertions(+), 16 deletions(-) diff --git a/frontend-modern/src/features/kubernetes/KubernetesDeploymentsTable.tsx b/frontend-modern/src/features/kubernetes/KubernetesDeploymentsTable.tsx index b0dae83a1d..cf42026051 100644 --- a/frontend-modern/src/features/kubernetes/KubernetesDeploymentsTable.tsx +++ b/frontend-modern/src/features/kubernetes/KubernetesDeploymentsTable.tsx @@ -94,21 +94,34 @@ export const KubernetesDeploymentsTable: Component<{ - Deployment - diff --git a/frontend-modern/src/features/kubernetes/KubernetesNodesTable.tsx b/frontend-modern/src/features/kubernetes/KubernetesNodesTable.tsx index 03c0c5124f..ad898d314a 100644 --- a/frontend-modern/src/features/kubernetes/KubernetesNodesTable.tsx +++ b/frontend-modern/src/features/kubernetes/KubernetesNodesTable.tsx @@ -143,23 +143,40 @@ export const KubernetesNodesTable: Component<{
- Node -