Skip to content

Commit ae719ca

Browse files
committed
fix(pricing): restore card structure, use overflow-visible for badge
1 parent a3dbfb4 commit ae719ca

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

src/features/billing/components/pricing-section.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,11 @@ export function PricingSection() {
5656
</CardFooter>
5757
</Card>
5858

59-
<div className="relative pt-3">
60-
<span className="absolute inset-x-0 top-0 mx-auto flex h-6 w-fit items-center rounded-full bg-primary px-3 py-1 text-xs font-medium text-primary-foreground">
59+
<Card className="relative flex flex-col overflow-visible bg-muted">
60+
<span className="absolute inset-x-0 -top-3 mx-auto flex h-6 w-fit items-center rounded-full bg-primary px-3 py-1 text-xs font-medium text-primary-foreground">
6161
Popular
6262
</span>
63-
<Card className="flex flex-col overflow-visible bg-muted">
64-
<div className="flex flex-col">
63+
<div className="flex flex-col">
6564
<CardHeader>
6665
<CardTitle className="font-medium">Pro</CardTitle>
6766
<span className="my-3 block text-2xl font-semibold">$19 / mo</span>
@@ -96,9 +95,8 @@ export function PricingSection() {
9695
Get Started
9796
</Button>
9897
</CardFooter>
99-
</div>
100-
</Card>
101-
</div>
98+
</div>
99+
</Card>
102100

103101
<Card className="flex flex-col bg-muted">
104102
<CardHeader>

0 commit comments

Comments
 (0)