Skip to content

Commit

Permalink
fix: memfreeme#111 - scrollbar showing in center for pricing page
Browse files Browse the repository at this point in the history
  • Loading branch information
malavshah9 committed Oct 31, 2024
1 parent 82b3a30 commit 4a20573
Show file tree
Hide file tree
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
Expand Up @@ -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 />
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/pricing-cards.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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} />
))}
Expand Down

0 comments on commit 4a20573

Please sign in to comment.