From bc1f384e5c2f7609f693f276b764963f7a2f67f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc-Andr=C3=A9=20Bombeck?= Date: Sun, 17 May 2026 17:19:09 +0200 Subject: [PATCH] ui(buttons): tighten min-h floors on Arztbericht and dismiss CTAs P3-2: pair the Arztbericht hero CTA's explicit h-11 with a min-h-11 floor (and sm:min-h-9 on desktop) so a future className override can not accidentally re-lift the mobile minimum below the touch-target contract. P3-3: drop the dashboard onboarding checklist's sm:min-h-10 (a no-op against the Button default of h-10) down to sm:min-h-9 to match the Hinzufuegen menu trigger pattern. Co-Authored-By: Claude Opus 4.7 (1M context) --- src/components/onboarding/getting-started-checklist.tsx | 6 +++++- src/components/settings/arztbericht-hero-card.tsx | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/src/components/onboarding/getting-started-checklist.tsx b/src/components/onboarding/getting-started-checklist.tsx index 5bcca6ca6..c034868ba 100644 --- a/src/components/onboarding/getting-started-checklist.tsx +++ b/src/components/onboarding/getting-started-checklist.tsx @@ -365,7 +365,11 @@ export function GettingStartedChecklist() { // few primary buttons rendered above the fold on the // onboarded-user dashboard so the regression was visible to // the touch-target spec. - className="text-muted-foreground hover:text-foreground min-h-11 sm:min-h-10" + // v1.4.38 W-D P3-3 — align the desktop floor with the + // dashboard +Hinzufügen pattern (`sm:min-h-9`); the + // `sm:min-h-10` here was a no-op against the Button default + // of `h-10`. + className="text-muted-foreground hover:text-foreground min-h-11 sm:min-h-9" onClick={() => setDismissedAll(true)} > {t("gettingStarted.dismissAll")} diff --git a/src/components/settings/arztbericht-hero-card.tsx b/src/components/settings/arztbericht-hero-card.tsx index d5fc82fe7..64b56bd81 100644 --- a/src/components/settings/arztbericht-hero-card.tsx +++ b/src/components/settings/arztbericht-hero-card.tsx @@ -163,7 +163,11 @@ export function ArztberichtHeroCard() { // `min-h-11` (44 px) is the WCAG 2.5.5 touch-target floor; // we override the default `