From a3ba8a1663d82c4ac736e294db904266601adf5a Mon Sep 17 00:00:00 2001 From: rcourtman Date: Wed, 20 May 2026 09:59:22 +0100 Subject: [PATCH] Rebalance Docker hosts top-table column widths The Docker overview top table was running on table-fixed with no per-column desktop widths, so all 10 columns rendered at the same ~132px. That gave CPU / Memory / Disk bars the same allocation as one-digit badge columns like "Containers" or short-text columns like "System", and the bars couldn't show their inline "% (size / size)" labels at all. Set explicit md:w-[...] on every header so the three bar-metric columns share an equal generous slice (14% each), the Host name column gets headroom for full hostnames, and the short-content columns (Version, System, Uptime, Temp, Containers, Swarm role) trim to what their labels and values actually need. Mobile widths are unchanged. --- .../src/features/docker/DockerHostsTable.tsx | 26 ++++++++++++------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/frontend-modern/src/features/docker/DockerHostsTable.tsx b/frontend-modern/src/features/docker/DockerHostsTable.tsx index ee27c78c37..4f5e024c77 100644 --- a/frontend-modern/src/features/docker/DockerHostsTable.tsx +++ b/frontend-modern/src/features/docker/DockerHostsTable.tsx @@ -160,36 +160,42 @@ export const DockerHostsTable: Component<{ - + {/* + Desktop widths balance the three bar-metric columns (CPU / + Memory / Disk) against the short-content columns so the + bars aren't squeezed by table-fixed's equal split. Mobile + widths (w-[40%], w-[20%]) are unchanged. + */} + Host -