From 1e7b701fa660f9b1700e840e17faafd189971fc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Tue, 16 Jun 2026 21:32:12 +0200 Subject: [PATCH] fix(admin): give the Backups header room to breathe The snapshot-count badge now leads (numbers first) and the explainer plus docs link move into the card header's description slot, which carries proper spacing and left-aligns under the title. Previously the description sat in a separate paragraph crammed directly beneath the "Backup now" button. --- src/components/admin/backups-section.tsx | 38 ++++++++++++++---------- 1 file changed, 23 insertions(+), 15 deletions(-) diff --git a/src/components/admin/backups-section.tsx b/src/components/admin/backups-section.tsx index 138146e38..e927bc039 100644 --- a/src/components/admin/backups-section.tsx +++ b/src/components/admin/backups-section.tsx @@ -333,6 +333,13 @@ export function BackupsSection() { return (
+ {/* v1.18.1 E3 — the snapshot count leads (numbers first), the + "Run now" button follows, and the explainer + docs link move + into the header's description slot. Previously the description + sat in a separate `mt-1 pl-7` paragraph that crowded the button + directly above it; routing it through the header's `space-y-1` + stack restores breathing room and left-aligns it under the + title. */} } + description={ +

+ {t("admin.section.backups.description")}{" "} + {/* External docs link — `noopener noreferrer` because this + leaves the admin shell. */} + + +

+ } /> -

- {t("admin.section.backups.description")}{" "} - {/* External docs link — Phase E will publish the matching page on - the docs site. `noopener noreferrer` because this leaves the - admin shell. */} - - -

{/* Upload card — separate from the table so admins can ingest a backup file independently of any existing rows. The visible