mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-10 05:12:14 +00:00
a11y(insights): bump tab-strip group-popover items to 44 px
The outer insights tab pills meet the 44 px WCAG 2.5.5 floor; the inner group-popover items were 4 px short at `min-h-10`. Lift to `min-h-11` so the popover hits the same target floor.
This commit is contained in:
1 parent
54fbbf8fc8
commit
b828d86749
1 file changed
+1
-1
@@ -377,7 +377,7 @@ function InsightsTabStripImpl({
|
||||
data-slot="insights-tab-strip-group-item"
|
||||
data-active={isChildActive ? "true" : undefined}
|
||||
className={cn(
|
||||
"flex min-h-10 items-center rounded-md px-2 py-1.5 text-sm transition-colors",
|
||||
"flex min-h-11 items-center rounded-md px-2 py-1.5 text-sm transition-colors",
|
||||
"focus-visible:ring-ring/50 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none",
|
||||
isChildActive
|
||||
? "bg-primary/10 text-primary"
|
||||
|
||||
Reference in new issue
Block a user