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 edit-hero-modal.tsx

Tim Wilsone4355c71d70c
diff --git a/apps/web/ui/partners/design/edit-hero-modal.tsx b/apps/web/ui/partners/design/edit-hero-modal.tsx
index a8202d7b15..604f6b8d2f 100644
--- a/apps/web/ui/partners/design/edit-hero-modal.tsx
+++ b/apps/web/ui/partners/design/edit-hero-modal.tsx
@@ -100,9 +100,10 @@ function EditHeroModalInner({ setShowEditHeroModal }: EditHeroModalProps) {
<textarea
id={`${id}-description`}
rows={3}
+ maxLength={240}
onKeyDown={handleKeyDown}
placeholder={`Share ${program?.name} with your audience and for each subscription generated through your referral, you'll earn a share of the revenue on any plans they purchase.`}
- className="block w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
+ className="block max-h-32 min-h-16 w-full rounded-md border-neutral-300 text-neutral-900 placeholder-neutral-400 focus:border-neutral-500 focus:outline-none focus:ring-neutral-500 sm:text-sm"
{...register("landerData.description")}
/>
</div>