mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-18 16:12:11 +00:00
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.
This commit is contained in:
1 parent
54a2d19833
commit
e3071d4f0a
5 files changed
+14
-12
No files matched your search
@@ -258,15 +258,17 @@ export function DashboardHero({
|
||||
cta.kind === "link" ? (
|
||||
<Button
|
||||
asChild
|
||||
size="sm"
|
||||
size="default"
|
||||
variant="outline"
|
||||
className="min-h-11 sm:min-h-9"
|
||||
data-slot="dashboard-hero-cta"
|
||||
>
|
||||
<Link href={cta.href}>{t(ctaLabelKey)}</Link>
|
||||
</Button>
|
||||
) : (
|
||||
<Button
|
||||
size="sm"
|
||||
size="default"
|
||||
className="min-h-11 sm:min-h-9"
|
||||
data-slot="dashboard-hero-cta"
|
||||
onClick={() => onQuickEntry(cta.target)}
|
||||
>
|
||||
|
||||
Reference in new issue
Block a user