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.

Update file-upload.tsx

Steven Tey02d6b6f67e85
diff --git a/packages/ui/src/file-upload.tsx b/packages/ui/src/file-upload.tsx
index e03d0e1c57..abac2ea342 100644
--- a/packages/ui/src/file-upload.tsx
+++ b/packages/ui/src/file-upload.tsx
@@ -218,11 +218,11 @@ export function FileUpload({
/>
<div
className={cn(
- "absolute inset-0 z-[3] flex flex-col items-center justify-center rounded-[inherit] bg-white transition-all",
+ "absolute inset-0 z-[3] flex flex-col items-center justify-center rounded-[inherit] border-2 border-transparent bg-white transition-all",
disabled && "bg-gray-50",
dragActive &&
!disabled &&
- "cursor-copy border-2 border-black bg-gray-50 opacity-100",
+ "cursor-copy border-black bg-gray-50 opacity-100",
imageSrc
? cn(
"opacity-0",