From 25d82ef9f120020983fbaff38330d2bd6eadad44 Mon Sep 17 00:00:00 2001 From: Pulse Monitor Date: Fri, 29 Aug 2025 22:09:37 +0000 Subject: [PATCH] fix: make metric bars responsive with minimum width constraints - changed fixed widths to minimum widths for table columns - made MetricBar component expand to fill available space - maintains minimum width of 120px to prevent text cutoff - bars now grow on wider screens while staying readable on narrow ones --- .../src/components/Backups/UnifiedBackups.tsx | 6 +++--- .../src/components/Dashboard/Dashboard.tsx | 6 +++--- .../src/components/Dashboard/MetricBar.tsx | 2 +- frontend-modern/src/components/Storage/Storage.tsx | 4 ++-- .../src/components/shared/NodeSummaryTable.tsx | 12 ++++++------ 5 files changed, 15 insertions(+), 15 deletions(-) diff --git a/frontend-modern/src/components/Backups/UnifiedBackups.tsx b/frontend-modern/src/components/Backups/UnifiedBackups.tsx index 59ed15df1..2e93e405e 100644 --- a/frontend-modern/src/components/Backups/UnifiedBackups.tsx +++ b/frontend-modern/src/components/Backups/UnifiedBackups.tsx @@ -1006,14 +1006,14 @@ const UnifiedBackups: Component = () => { - + - + { type="memory" /> - + - + - + - + -
+
{ Shared - Usage + Usage Free Total @@ -361,7 +361,7 @@ const Storage: Component = () => { -
+
= (props) => { {props.currentTab === 'backups' ? 'Node / PBS' : 'Node'} - Status - Uptime - CPU - Memory - + Status + Uptime + CPU + Memory + {props.currentTab === 'backups' && props.pbsInstances ? 'Storage / Disk' : 'Disk'} {(header) => ( - {header} + {header} )}