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.

small tweak

Steven Tey6b8f64f53a8f
diff --git a/packages/ui/src/input-select.tsx b/packages/ui/src/input-select.tsx
index 352f9919e2..f25f2f5ccc 100644
--- a/packages/ui/src/input-select.tsx
+++ b/packages/ui/src/input-select.tsx
@@ -123,7 +123,8 @@ export function InputSelect({
)}
<p
className={cn(
- "my-auto whitespace-nowrap rounded-md px-2 py-0.5 text-sm",
+ "whitespace-nowrap py-0.5 text-sm",
+ item.color && "rounded-md px-2",
item.color === "red" && "bg-red-100 text-red-600",
item.color === "yellow" && "bg-yellow-100 text-yellow-600",
item.color === "green" && "bg-green-100 text-green-600",