From acb4162532a1f33467ce315608cd73d4893f02ef Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Tue, 26 Aug 2025 19:09:32 +0000 Subject: [PATCH] fix: prevent text wrapping and maintain fixed widths in Node Summary Table - Added min-width to table (900px) to ensure proper horizontal scrolling - Added whitespace-nowrap to all headers and badges to prevent wrapping - Changed MetricBar columns from w-[180px] to min-w-[180px] for fixed minimum width - Ensures progress bars stay readable and don't shrink on narrow screens - Smooth horizontal scrolling on mobile/narrow viewports --- .../components/shared/NodeSummaryTable.tsx | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/frontend-modern/src/components/shared/NodeSummaryTable.tsx b/frontend-modern/src/components/shared/NodeSummaryTable.tsx index 8be868d3e..a83f72e6d 100644 --- a/frontend-modern/src/components/shared/NodeSummaryTable.tsx +++ b/frontend-modern/src/components/shared/NodeSummaryTable.tsx @@ -88,24 +88,24 @@ export const NodeSummaryTable: Component = (props) => { return (
- +
- - - - - + + + {(header) => ( - + )} - + @@ -177,7 +177,7 @@ export const NodeSummaryTable: Component = (props) => { {item.data.name} - = (props) => { - - -
+ {props.currentTab === 'backups' ? 'Node / PBS' : 'Node'} StatusCPUMemory + StatusCPUMemory {props.currentTab === 'backups' && props.pbsInstances ? 'Storage / Disk' : 'Disk'} {header}{header}UptimeUptime
+ = (props) => { type="cpu" /> + = (props) => { type="memory" /> +