summaryrefslogtreecommitdiff
path: root/apps/web/src/components/ui/input-otp.tsx
diff options
context:
space:
mode:
authorBrandon McConnell <brandon@dreamthinkbuild.com>2025-07-30 13:15:09 -0400
committerBrandon McConnell <brandon@dreamthinkbuild.com>2025-07-30 13:15:09 -0400
commitdf1e80b5287ff71867bad1a1bfebb102cef7d5bf (patch)
tree2384e04490dd71a72cbf135c366012f74b71c0ca /apps/web/src/components/ui/input-otp.tsx
parent1c20027d33bcf303d6a9b40970cd8216c489f0d5 (diff)
downloadopencut-df1e80b5287ff71867bad1a1bfebb102cef7d5bf.tar.gz
Lay groundwork for Tailwind v4 upgrade
Diffstat (limited to 'apps/web/src/components/ui/input-otp.tsx')
-rw-r--r--apps/web/src/components/ui/input-otp.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/web/src/components/ui/input-otp.tsx b/apps/web/src/components/ui/input-otp.tsx
index 1bffc451..0d2cc002 100644
--- a/apps/web/src/components/ui/input-otp.tsx
+++ b/apps/web/src/components/ui/input-otp.tsx
@@ -13,7 +13,7 @@ const InputOTP = React.forwardRef<
<OTPInput
ref={ref}
containerClassName={cn(
- "flex items-center justify-between gap-2 w-full has-[:disabled]:opacity-50",
+ "flex items-center justify-between gap-2 w-full has-disabled:opacity-50",
containerClassName
)}
className={cn("disabled:cursor-not-allowed", className)}
@@ -45,7 +45,7 @@ const InputOTPSlot = React.forwardRef<
<div
ref={ref}
className={cn(
- "relative flex aspect-square flex-1 min-w-[36px] items-center justify-center border border-input text-lg shadow-sm transition-all first:rounded-l-md first:border-l last:rounded-r-md",
+ "relative flex aspect-square flex-1 min-w-[36px] items-center justify-center border border-input text-lg shadow-xs transition-all first:rounded-l-md first:border-l last:rounded-r-md",
isActive && "z-10 ring-1 ring-ring",
className
)}