Skip to content

Commit 4111bd3

Browse files
NicolappsConvex, Inc.
authored and
Convex, Inc.
committed
dash: Fix upsell layout (#37189)
GitOrigin-RevId: 9b25db824ad56e5755f9733388befc918c90a427
1 parent 4c51f5d commit 4111bd3

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

npm-packages/@convex-dev/design-system/src/Callout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ type CalloutVariant = "instructions" | "error" | "localDev" | "upsell";
55
const classes = {
66
error: "bg-background-error border text-content-error",
77
instructions: "border bg-background-warning text-content-warning",
8-
upsell: "border border-util-accent max-w-prose bg-util-accent/10",
8+
upsell: "border border-util-accent bg-util-accent/10",
99
localDev:
1010
"bg-teal-100 border border-teal-500 dark:bg-teal-900 text-content-primary",
1111
};

npm-packages/dashboard/src/components/integrations/Integrations.tsx

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,8 @@ export function Integrations({
8181
logStreamingEntitlementGranted &&
8282
streamingExportEntitlementGranted ? null : (
8383
<Callout variant="upsell">
84-
<Button
85-
variant="unstyled"
86-
href={`/${team.slug}/settings/billing`}
87-
className="flex w-fit flex-col items-center gap-2"
88-
>
89-
<p className="text-balance text-center">
84+
<div className="flex w-fit flex-col gap-2">
85+
<p className="max-w-prose">
9086
Log Stream, Exception Reporting, and Streaming Export integrations
9187
are available on paid plans.
9288
</p>
@@ -97,7 +93,7 @@ export function Integrations({
9793
>
9894
Upgrade Now
9995
</Button>
100-
</Button>
96+
</div>
10197
</Callout>
10298
);
10399

npm-packages/dashboard/src/components/referral/Referrals.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function ReferralsInner({
5151
<p className="font-semibold">
5252
Thank you for subscribing to Convex!
5353
</p>
54-
<p>
54+
<p className="max-w-prose">
5555
As a paid plan subscriber, you won’t get additional resources for
5656
referring friends or being referred by someone, but your friends
5757
can still get free Convex resources by using your referral link.

0 commit comments

Comments
 (0)