Fix iOS Safari auto-zoom on input focus by ensuring 16px minimum font size on mobile

This commit is contained in:
Alex Gleason committed 2026-03-07 11:38:12 -06:00
1 parent c88350270a
commit ba892fdd54
7 files changed
+11 -11

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ const CommandInput = React.forwardRef<
<CommandPrimitive.Input
ref={ref}
className={cn(
"flex h-11 w-full rounded-md bg-transparent py-3 text-sm outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50",
"flex h-11 w-full rounded-md bg-transparent py-3 text-base outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
className
)}
{...props}