mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-07 12:22:03 +00:00
fix(insights): bump suggested-prompt chip touch target to 36px floor
Chips painted at ~28px tall (px-3 py-1.5 text-xs). On a 375px viewport the chip strip became a fingertip lottery. Bump to min-h-9 with px-3.5 py-2 text-[13px] so chips clear the 36px mobile touch baseline without the type-shrink that triggered the regression. Fixes Design-HIGH-2. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
046d78862a
commit
3c353fe012
1 file changed
+2
-2
@@ -70,8 +70,8 @@ export function SuggestedPrompts({
|
||||
data-slot="insights-suggested-prompts-chip"
|
||||
className={cn(
|
||||
"border-dracula-purple/18 hover:border-dracula-purple/40 hover:text-foreground",
|
||||
"text-muted-foreground inline-flex items-center gap-1.5",
|
||||
"rounded-full border bg-transparent px-3 py-1.5 text-xs",
|
||||
"text-muted-foreground inline-flex min-h-9 items-center gap-1.5",
|
||||
"rounded-full border bg-transparent px-3.5 py-2 text-[13px]",
|
||||
"transition-colors focus-visible:outline-none focus-visible:ring-2",
|
||||
"focus-visible:ring-dracula-purple/50",
|
||||
)}
|
||||
|
||||
Reference in new issue
Block a user