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
@@ -39,7 +39,7 @@ const InputOTPSlot = React.forwardRef<
<div
ref={ref}
className={cn(
"relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",
"relative flex h-10 w-10 items-center justify-center border-y border-r border-input text-base transition-all first:rounded-l-md first:border-l last:rounded-r-md md:text-sm",
isActive && "z-10 ring-2 ring-ring ring-offset-background",
className
)}