Skip to content

Commit

Permalink
fix: #111 - scrollbar showing in center for pricing page (#131)
Browse files Browse the repository at this point in the history
malavshah9 authored Oct 31, 2024
1 parent d062211 commit 696e943
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/app/[locale]/(search)/pricing/page.tsx
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ export default async function PricingPage() {
}

return (
<div className="group mx-auto overflow-auto peer-[[data-state=open]]:lg:pl-[300px] peer-[[data-state=open]]:xl:pl-[320px] peer-[[data-state=closed]]:lg:pl-[100px] my-10">
<div className="group mx-auto overflow-auto peer-[[data-state=open]]:lg:pl-[300px] peer-[[data-state=open]]:xl:pl-[320px] peer-[[data-state=closed]]:lg:px-[100px] my-10">
<PricingCards userId={user?.id} subscriptionPlan={subscriptionPlan} />
<WallOfLove />
<PricingFaq />
2 changes: 1 addition & 1 deletion frontend/components/pricing-cards.tsx
Original file line number Diff line number Diff line change
@@ -173,7 +173,7 @@ export function PricingCards({ userId, subscriptionPlan }: PricingCardsProps) {
</ToggleGroup>
</div>

<div className="mx-auto grid max-w-6xl gap-5 bg-inherit py-5 md:grid-cols-3 lg:grid-cols-3">
<div className="mx-auto grid gap-5 bg-inherit py-5 md:grid-cols-3 lg:grid-cols-3">
{pricingData.map((offer) => (
<PricingCard offer={offer} key={offer.title} />
))}

0 comments on commit 696e943

Please sign in to comment.