Update CSS classes in billing pages

The CSS classes in the billing pages of both the account and user sections have been modified. The 'mx-auto' class, which previously applied automatic horizontal margins to the elements, has been removed to adjust the layout.
This commit is contained in:
giancarlo
2024-05-04 00:22:08 +07:00
parent 6be43ef77c
commit 8324b49d70
2 changed files with 2 additions and 4 deletions

View File

@@ -61,9 +61,7 @@ async function PersonalAccountBillingPage() {
<If condition={data}> <If condition={data}>
{(data) => ( {(data) => (
<div <div className={'flex w-full max-w-2xl flex-col space-y-6'}>
className={'mx-auto flex w-full max-w-2xl flex-col space-y-6'}
>
{'active' in data ? ( {'active' in data ? (
<CurrentSubscriptionCard <CurrentSubscriptionCard
subscription={data} subscription={data}

View File

@@ -82,7 +82,7 @@ async function TeamAccountBillingPage({ params }: Params) {
<PageBody> <PageBody>
<div <div
className={cn(`flex w-full flex-col space-y-4`, { className={cn(`flex w-full flex-col space-y-4`, {
'mx-auto max-w-2xl': data, 'max-w-2xl': data,
})} })}
> >
<If <If