From a3cd7ba7b8a120dc302e92c953294a833ef44a04 Mon Sep 17 00:00:00 2001 From: rcourtman Date: Mon, 27 Oct 2025 20:04:32 +0000 Subject: [PATCH] Reduce backups chart mobile padding --- frontend-modern/src/components/Backups/UnifiedBackups.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend-modern/src/components/Backups/UnifiedBackups.tsx b/frontend-modern/src/components/Backups/UnifiedBackups.tsx index c4659ef..c51c5ac 100644 --- a/frontend-modern/src/components/Backups/UnifiedBackups.tsx +++ b/frontend-modern/src/components/Backups/UnifiedBackups.tsx @@ -1493,7 +1493,7 @@ const UnifiedBackups: Component = () => { -
+
0} fallback={ @@ -1541,7 +1541,7 @@ const UnifiedBackups: Component = () => { if (rect.width === 0 || rect.height === 0) return; const margin = { top: 10, right: 10, bottom: 30, left: 30 }; - const width = rect.width - margin.left - margin.right; + const width = Math.max(rect.width - margin.left - margin.right, 1); const height = 128 - margin.top - margin.bottom; el.setAttribute('viewBox', `0 0 ${rect.width} 128`);