Skip to content
This repository was archived by the owner on Oct 1, 2026. It is now read-only.

fix: center single pricing card on subscribe page - #22

Merged
codybmenefee merged 10 commits into
mainfrom
fix/subscribe-checkout-overlap
Feb 8, 2026
Merged

codybmenefee merged 10 commits into
mainfrom
fix/subscribe-checkout-overlap

Conversation

@codybmenefee

Copy link
Copy Markdown
Owner

Summary

Test plan

  • Single plan card displays centered on the page
  • Checkout drawer still opens correctly

🤖 Generated with Claude Code

codybmenefee and others added 10 commits February 7, 2026 23:36
Clerk's PricingTable renders the checkout panel alongside the pricing
card, but the max-w-3xl container (768px) was too narrow for both.
Restructured the layout so the heading stays in a narrow wrapper while
the PricingTable area gets max-w-5xl (1024px) to accommodate the
side-by-side checkout flow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…er layout

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Style Clerk PricingTable cards with white backgrounds, dark borders,
hard offset shadows, and monospace uppercase buttons via CSS overrides
and Clerk appearance config. Fix checkout drawer z-index stacking
behind pricing cards. Add ?preview=true query param to /subscribe
route for local dev styling work without auth guards.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…nd preview component

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…kout overlap

The position/z-index on pricing cards created a stacking context that
pushed cards above Clerk's checkout drawer. Box-shadow and border
styling don't need positioning, so removing them lets the checkout
panel render above the cards naturally.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The relative z-10 on <header> and <main> created a stacking context
at z-index 10, which trapped Clerk's checkout drawer (rendered as a
portal outside <main>) behind the page content. These z-index values
were leftover from an old gradient overlay design that no longer exists.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@codybmenefee
codybmenefee merged commit 222281a into main Feb 8, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant