The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
Drawer title sizing
Marcus Farrell0d5476bf43d7
diff --git a/apps/web/app/(ee)/partners.dub.co/(dashboard)/settings/payouts/payout-details-sheet.tsx b/apps/web/app/(ee)/partners.dub.co/(dashboard)/settings/payouts/payout-details-sheet.tsxindex 44bb255d6e..cb33b8e1b8 100644--- a/apps/web/app/(ee)/partners.dub.co/(dashboard)/settings/payouts/payout-details-sheet.tsx+++ b/apps/web/app/(ee)/partners.dub.co/(dashboard)/settings/payouts/payout-details-sheet.tsx@@ -184,8 +184,8 @@ function PayoutDetailsSheetContent({ payout }: PayoutDetailsSheetProps) {return (<div>- <div className="flex items-start justify-between border-b border-neutral-200 p-6">- <Sheet.Title className="text-xl font-semibold">+ <div className="flex items-center justify-between border-b border-neutral-200 px-6 py-4 h-16">+ <Sheet.Title className="text-lg font-semibold">Payout details</Sheet.Title><Sheet.Close asChild>diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/create-clawback-sheet.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/create-clawback-sheet.tsxindex e9abe80805..ecb303261d 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/create-clawback-sheet.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/create-clawback-sheet.tsx@@ -77,8 +77,8 @@ function CreateClawbackSheetContent(return (<form onSubmit={handleSubmit(onSubmit)} className="flex h-full flex-col"><div className="sticky top-0 z-10 border-b border-neutral-200 bg-white">- <div className="flex items-start justify-between p-6">- <Sheet.Title className="text-xl font-semibold">+ <div className="flex items-center justify-between px-6 py-4 h-16">+ <Sheet.Title className="text-lg font-semibold">Create clawback</Sheet.Title><Sheet.Close asChild>diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/create-commission-sheet.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/create-commission-sheet.tsxindex 4954ea8a83..d33ace70b3 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/create-commission-sheet.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/commissions/create-commission-sheet.tsx@@ -176,8 +176,8 @@ function CreateCommissionSheetContent(props: CreateCommissionSheetProps) {return (<form onSubmit={handleSubmit(onSubmit)} className="flex h-full flex-col"><div className="sticky top-0 z-10 border-b border-neutral-200 bg-white">- <div className="flex items-start justify-between p-6">- <Sheet.Title className="text-xl font-semibold">+ <div className="flex items-center justify-between px-6 py-4 h-16">+ <Sheet.Title className="text-lg font-semibold">Create commission</Sheet.Title><Sheet.Close asChild>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.tsxindex 576e9d2570..9ddc91bb7b 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@@ -119,8 +119,8 @@ function InvitePartnerSheetContent({ setIsOpen }: InvitePartnerSheetProps) {return (<form onSubmit={handleSubmit(onSubmit)} className="flex h-full flex-col"><div className="sticky top-0 z-10 border-b border-neutral-200 bg-white">- <div className="flex items-start justify-between p-6">- <Sheet.Title className="text-xl font-semibold">+ <div className="flex items-center justify-between px-6 py-4 h-16">+ <Sheet.Title className="text-lg font-semibold">Invite partner</Sheet.Title><Sheet.Close asChild>diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/payouts/payout-details-sheet.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/payouts/payout-details-sheet.tsxindex b4ac696ec6..b339ecbbe3 100644--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/payouts/payout-details-sheet.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/(ee)/program/payouts/payout-details-sheet.tsx@@ -207,8 +207,8 @@ function PayoutDetailsSheetContent({ payout }: PayoutDetailsSheetProps) {return (<div className="flex h-full flex-col">- <div className="sticky top-0 z-10 flex items-start justify-between border-b border-neutral-200 bg-white p-6">- <Sheet.Title className="text-xl font-semibold">+ <div className="sticky top-0 z-10 flex items-center justify-between border-b border-neutral-200 bg-white px-6 py-4 h-16">+ <Sheet.Title className="text-lg font-semibold">{capitalize(payout.status)} payout</Sheet.Title><Sheet.Close asChild>diff --git a/apps/web/ui/partners/add-edit-discount-sheet.tsx b/apps/web/ui/partners/add-edit-discount-sheet.tsxindex 197f0e4ad5..52d40b805f 100644--- a/apps/web/ui/partners/add-edit-discount-sheet.tsx+++ b/apps/web/ui/partners/add-edit-discount-sheet.tsx@@ -195,8 +195,8 @@ function DiscountSheetContent({onSubmit={handleSubmit(onSubmit)}className="flex h-full flex-col">- <div className="flex items-start justify-between border-b border-neutral-200 p-6">- <Sheet.Title className="text-xl font-semibold">+ <div className="flex items-center justify-between border-b border-neutral-200 px-6 py-4 h-16">+ <Sheet.Title className="text-lg font-semibold">{discount ? "Edit" : "Create"} {isDefault ? "default" : ""} discount</Sheet.Title><Sheet.Close asChild>diff --git a/apps/web/ui/partners/add-edit-reward-sheet.tsx b/apps/web/ui/partners/add-edit-reward-sheet.tsxindex 91fe3b890e..31d5754f22 100644--- a/apps/web/ui/partners/add-edit-reward-sheet.tsx+++ b/apps/web/ui/partners/add-edit-reward-sheet.tsx@@ -223,8 +223,8 @@ function RewardSheetContent({onSubmit={handleSubmit(onSubmit)}className="flex h-full flex-col">- <div className="flex items-start justify-between border-b border-neutral-200 p-6">- <Sheet.Title className="text-xl font-semibold">+ <div className="flex items-center justify-between border-b border-neutral-200 px-6 py-4 h-16">+ <Sheet.Title className="text-lg font-semibold">{reward ? "Edit" : "Create"} {isDefault ? "default" : ""}{" "}{selectedEvent} reward</Sheet.Title>diff --git a/apps/web/ui/partners/partner-application-sheet.tsx b/apps/web/ui/partners/partner-application-sheet.tsxindex c2239ddce1..cb6b41b4c2 100644--- a/apps/web/ui/partners/partner-application-sheet.tsx+++ b/apps/web/ui/partners/partner-application-sheet.tsx@@ -31,8 +31,8 @@ function PartnerApplicationSheetContent({return (<><div className="flex grow flex-col">- <div className="flex items-start justify-between p-6">- <Sheet.Title className="text-xl font-semibold">+ <div className="flex items-center justify-between px-6 py-4 h-16">+ <Sheet.Title className="text-lg font-semibold">Partner application</Sheet.Title><div className="flex items-center gap-2">diff --git a/apps/web/ui/partners/partner-details-sheet.tsx b/apps/web/ui/partners/partner-details-sheet.tsxindex 2082d69183..c6d46eeb0c 100644--- a/apps/web/ui/partners/partner-details-sheet.tsx+++ b/apps/web/ui/partners/partner-details-sheet.tsx@@ -56,8 +56,8 @@ function PartnerDetailsSheetContent({ partner }: PartnerDetailsSheetProps) {return (<div className="flex h-full flex-col"><div className="sticky top-0 z-10 border-b border-neutral-200 bg-white">- <div className="flex items-start justify-between p-6">- <Sheet.Title className="text-xl font-semibold">+ <div className="flex items-center justify-between px-6 py-4 h-16">+ <Sheet.Title className="text-lg font-semibold">Partner details</Sheet.Title><Sheet.Close asChild>@@ -71,7 +71,7 @@ function PartnerDetailsSheetContent({ partner }: PartnerDetailsSheetProps) {</div><div className="flex grow flex-col">- <div className="border-y border-neutral-200 bg-neutral-50 p-6">+ <div className="border-b border-neutral-200 bg-neutral-50 p-6">{/* Basic info */}<PartnerInfoSection partner={partner}><Menu partner={partner} />diff --git a/apps/web/ui/partners/partner-profile-sheet.tsx b/apps/web/ui/partners/partner-profile-sheet.tsxindex cc4204ab9b..36449607f8 100644--- a/apps/web/ui/partners/partner-profile-sheet.tsx+++ b/apps/web/ui/partners/partner-profile-sheet.tsx@@ -63,8 +63,8 @@ function PartnerProfileSheetContent({return (<><div className="flex grow flex-col">- <div className="flex items-start justify-between p-6">- <Sheet.Title className="text-xl font-semibold">+ <div className="flex items-center justify-between px-6 py-4 h-16">+ <Sheet.Title className="text-lg font-semibold">Partner profile</Sheet.Title><div className="flex items-center gap-2">diff --git a/apps/web/ui/partners/payout-invoice-sheet.tsx b/apps/web/ui/partners/payout-invoice-sheet.tsxindex adebaa25a1..da04242d91 100644--- a/apps/web/ui/partners/payout-invoice-sheet.tsx+++ b/apps/web/ui/partners/payout-invoice-sheet.tsx@@ -357,8 +357,8 @@ function PayoutInvoiceSheetContent() {return (<div className="flex h-full flex-col">- <div className="flex items-start justify-between border-b border-neutral-200 p-6">- <Sheet.Title className="text-xl font-semibold">+ <div className="flex items-center justify-between border-b border-neutral-200 px-6 py-4 h-16">+ <Sheet.Title className="text-lg font-semibold">Payout invoice</Sheet.Title><Sheet.Close asChild>diff --git a/packages/ui/src/sheet.tsx b/packages/ui/src/sheet.tsxindex 1df58f96e0..80b6224587 100644--- a/packages/ui/src/sheet.tsx+++ b/packages/ui/src/sheet.tsx@@ -57,7 +57,7 @@ function SheetRoot({function Title({ className, ...rest }: ComponentProps<typeof Drawer.Title>) {return (<Drawer.Title- className={cn("text-xl font-medium text-zinc-900", className)}+ className={cn("text-lg font-semibold text-neutral-900", className)}{...rest}/>);