From e3071d4f0a5e8e00d0bc406aa1e194f47a7ce601 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Fri, 19 Jun 2026 21:18:19 +0200 Subject: [PATCH] fix(mobile): raise primary touch controls to the 44px floor Sweep the primary touch controls that sat below the 44px tap-target floor on phones onto the canonical `min-h-11 sm:min-h-9` (text) / `size-11 sm:size-9` (icon) pattern, condensing back at `sm:` upward: - Coach composer mic / stop / send icon buttons (were `size-9`). - Dashboard hero CTA, link and action variants (were `size="sm"`). - Vorsorge list-view "mark done" button (was `min-h-9`) and its kebab, which now uses `size="icon-lg"` so the rendered control is 44px rather than the icon variant's 40px. - Illness list-view "log day" button (was `min-h-9`). - Medication wizard Step 3 injection-sites disclosure (was `h-9`). The Vorsorge dashboard-card capture action was raised alongside the ListRow migration. --- src/components/dashboard/hero/dashboard-hero.tsx | 6 ++++-- src/components/illness/illness-view.tsx | 2 +- src/components/insights/coach-panel/coach-input.tsx | 10 +++++----- .../measurement-reminders/vorsorge-section.tsx | 6 +++--- src/components/medications/wizard/steps/Step3Dose.tsx | 2 +- 5 files changed, 14 insertions(+), 12 deletions(-) diff --git a/src/components/dashboard/hero/dashboard-hero.tsx b/src/components/dashboard/hero/dashboard-hero.tsx index 02154f6de..95a975e9e 100644 --- a/src/components/dashboard/hero/dashboard-hero.tsx +++ b/src/components/dashboard/hero/dashboard-hero.tsx @@ -258,15 +258,17 @@ export function DashboardHero({ cta.kind === "link" ? ( ) : ( @@ -432,7 +432,7 @@ export function CoachInput({ data-slot="coach-input-send" aria-label={t("insights.coach.send")} title={t("insights.coach.send")} - className="size-9 shrink-0 rounded-xl" + className="size-11 shrink-0 rounded-xl sm:size-9" > {isStreaming ? (