Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Fix focus state

Tim Wilson8b1cd581c72f
diff --git a/packages/ui/src/button.tsx b/packages/ui/src/button.tsx
index 8c8343a597..259a00537b 100644
--- a/packages/ui/src/button.tsx
+++ b/packages/ui/src/button.tsx
@@ -12,7 +12,7 @@ const buttonVariants = cva(
primary:
"border-black bg-black text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200",
secondary: cn(
- "border-gray-200 bg-white text-gray-900 hover:bg-gray-50 focus-visible:border-gray-500",
+ "border-gray-200 bg-white text-gray-900 hover:bg-gray-50 focus-visible:border-gray-500 outline-none",
"data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200",
),
outline: