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 button.tsx

Tim Wilsond991bdd3000f
diff --git a/packages/ui/src/button.tsx b/packages/ui/src/button.tsx
index a473f3d733..8f21cd777b 100644
--- a/packages/ui/src/button.tsx
+++ b/packages/ui/src/button.tsx
@@ -68,8 +68,8 @@ const Button = forwardRef<HTMLButtonElement, ButtonProps>(
{text && (
<div
className={cn(
- "min-w-0 grow truncate",
- shortcut && "flex-1 text-left",
+ "min-w-0 grow truncate text-left",
+ shortcut && "flex-1",
)}
>
{text}
@@ -110,8 +110,8 @@ const Button = forwardRef<HTMLButtonElement, ButtonProps>(
{text && (
<div
className={cn(
- "min-w-0 grow truncate",
- shortcut && "flex-1 text-left",
+ "min-w-0 grow truncate text-left",
+ shortcut && "flex-1",
)}
>
{text}