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.

Invite partner fixes

Tim Wilson6e4bee8cdee8
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/partners/invite-partner-sheet.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/partners/invite-partner-sheet.tsx
index 7b6ed859bb..d10d36db22 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/partners/invite-partner-sheet.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/partners/invite-partner-sheet.tsx
@@ -256,27 +256,31 @@ function InvitePartnerSheetContent({ setIsOpen }: InvitePartnerSheetProps) {
</motion.div>
</button>
- <AnimatedSizeContainer height>
- {showAdvancedOptions && (
- <div className="grid grid-cols-1 gap-6 pt-6">
- <div>
- <label className="block text-sm font-medium text-neutral-900">
- Group{" "}
- <span className="text-neutral-500">(optional)</span>
- </label>
-
- <div className="relative mt-2 rounded-md shadow-sm">
- <GroupSelector
- selectedGroupId={watch("groupId")}
- setSelectedGroupId={(groupId) => {
- setValue("groupId", groupId, { shouldDirty: true });
- }}
- />
+ <div className="-m-1">
+ <AnimatedSizeContainer height>
+ {showAdvancedOptions && (
+ <div className="grid grid-cols-1 gap-6 p-1 pt-6">
+ <div>
+ <label className="block text-sm font-medium text-neutral-900">
+ Group{" "}
+ <span className="text-neutral-500">(optional)</span>
+ </label>
+
+ <div className="relative mt-2 rounded-md shadow-sm">
+ <GroupSelector
+ selectedGroupId={watch("groupId")}
+ setSelectedGroupId={(groupId) => {
+ setValue("groupId", groupId, {
+ shouldDirty: true,
+ });
+ }}
+ />
+ </div>
</div>
</div>
- </div>
- )}
- </AnimatedSizeContainer>
+ )}
+ </AnimatedSizeContainer>
+ </div>
</div>
</div>