mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
a11y(achievements): lift the dashboard "View all" link to a 44 px tap target
The `RecentAchievementsCard` "View all" link in the dashboard card header was 46×16 px. The mobile-viewport e2e check fails at the WCAG-recommended ≥44 px touch-target floor and the existing project contract pins the same number. `inline-flex min-h-11 items-center` keeps the visual styling identical while satisfying the floor.
This commit is contained in:
1 parent
fa8a62513a
commit
7c0eee788e
1 file changed
+1
-1
@@ -99,7 +99,7 @@ export function RecentAchievementsCard() {
|
||||
</div>
|
||||
<Link
|
||||
href="/achievements"
|
||||
className="text-primary hover:text-primary/80 text-xs font-medium underline-offset-4 hover:underline"
|
||||
className="text-primary hover:text-primary/80 inline-flex min-h-11 items-center text-xs font-medium underline-offset-4 hover:underline"
|
||||
>
|
||||
{t("achievements.dashboardCard.viewAll")}
|
||||
</Link>
|
||||
|
||||
Reference in new issue
Block a user