From 03f374794e8d8b0737b6c6130315de016ddbf043 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Thu, 8 Oct 2026 16:20:42 +0200 Subject: [PATCH] Settle the form sheets on one anatomy Field labels no longer lose the space before '(optional)' or set the colon apart from a unit, and a question label carries no colon after its question mark. Cancel next to a primary is the outline button in every form, the illness sheet's selects span the field width, and the reminder sheet drops a description that repeated the page subtitle. On a phone a sheet now opens with focus on itself rather than its first field, so a date or name field no longer raises the keyboard over a sheet nobody has read yet. --- .../custom-metric-entry-form.tsx | 2 +- .../custom-metrics/custom-metric-form.tsx | 2 +- src/components/illness/log-day-sheet.tsx | 2 +- src/components/illness/new-episode-sheet.tsx | 16 +++++---- src/components/labs/biomarker-form.tsx | 2 +- src/components/labs/lab-form.tsx | 2 +- .../vorsorge-section.tsx | 1 - .../measurements/measurement-form.tsx | 8 +++-- src/components/mood/mood-form.tsx | 9 ++--- src/components/records/allergy-form.tsx | 2 +- .../records/family-history-form.tsx | 2 +- .../symptoms/symptom-edit-sheets.tsx | 8 ++--- .../symptoms/symptom-entry-form.tsx | 8 ++--- .../ui/__tests__/responsive-sheet.test.tsx | 33 ++++++++++++++++++- src/components/ui/responsive-sheet.tsx | 18 ++++++++++ 15 files changed, 84 insertions(+), 31 deletions(-) diff --git a/src/components/custom-metrics/custom-metric-entry-form.tsx b/src/components/custom-metrics/custom-metric-entry-form.tsx index 6c7b4307f..b8236d3cf 100644 --- a/src/components/custom-metrics/custom-metric-entry-form.tsx +++ b/src/components/custom-metrics/custom-metric-entry-form.tsx @@ -114,7 +114,7 @@ export function CustomMetricEntryForm({ {onCancel ? (