From 7f6eae842597707ebe0ed42cc4ffe4f3c7b24786 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sun, 9 Aug 2026 11:27:05 +0200 Subject: [PATCH] style(ui): pull off-scale spacing and micro-labels onto the scale Sweep the spacing rests that sat off the 1/1.5/2/3/4/6/8/10 scale: the health-score panels and their skeleton, the recommendation ask-Coach gutter, the onboarding tour footer, the vaccination row, the danger-zone alert margins, the recovery-codes action wrapper, and the chart-tooltip tile. Move the last hand-written micro-sizes (coach counters, the personal-record badge, the score-ring label, the dose-history and cycle-calendar headers, the mood tag chips) onto the text-2xs token, and give the documents upload buttons the mobile tap floor their peers set. --- src/app/coach/conversations/page.tsx | 2 +- src/components/charts/chart-tooltip.tsx | 2 +- src/components/cycle/cycle-calendar.tsx | 2 +- src/components/documents/documents-view.tsx | 10 ++++++++-- src/components/insights/coach-panel/history-rail.tsx | 2 +- src/components/insights/derived/score-ring.tsx | 4 ++-- src/components/insights/health-score-card.tsx | 6 +++--- src/components/insights/personal-record-badge.tsx | 2 +- src/components/insights/recommendation-card.tsx | 2 +- src/components/mood/mood-tag-picker.tsx | 4 ++-- src/components/onboarding/tour.tsx | 2 +- src/components/settings/advanced-section.tsx | 4 ++-- .../settings/import-panel/dose-history-columns.tsx | 4 ++-- src/components/settings/security-section/totp-card.tsx | 4 ++-- src/components/vaccinations/vaccination-list.tsx | 2 +- 15 files changed, 29 insertions(+), 23 deletions(-) diff --git a/src/app/coach/conversations/page.tsx b/src/app/coach/conversations/page.tsx index d037d070a..1d276bc48 100644 --- a/src/app/coach/conversations/page.tsx +++ b/src/app/coach/conversations/page.tsx @@ -282,7 +282,7 @@ function CoachConversationsBody() { aria-hidden="true" /> {(c.attachments?.length ?? 0) > 1 ? ( - + {c.attachments?.length} ) : null} diff --git a/src/components/charts/chart-tooltip.tsx b/src/components/charts/chart-tooltip.tsx index 78aea8c5d..dd6388a1f 100644 --- a/src/components/charts/chart-tooltip.tsx +++ b/src/components/charts/chart-tooltip.tsx @@ -73,7 +73,7 @@ export function RichChartTooltip({ return (
{wk}
diff --git a/src/components/documents/documents-view.tsx b/src/components/documents/documents-view.tsx index a534608fc..7eba90039 100644 --- a/src/components/documents/documents-view.tsx +++ b/src/components/documents/documents-view.tsx @@ -883,7 +883,10 @@ export function DocumentsView() { description={t("documents.subtitle")} actions={ canManage ? ( - @@ -940,7 +943,10 @@ export function DocumentsView() { ctaSize="lg" action={ canManage ? ( - diff --git a/src/components/insights/coach-panel/history-rail.tsx b/src/components/insights/coach-panel/history-rail.tsx index 7f3da933d..d8cd1675a 100644 --- a/src/components/insights/coach-panel/history-rail.tsx +++ b/src/components/insights/coach-panel/history-rail.tsx @@ -234,7 +234,7 @@ export function HistoryRail({ >