Skip to content

Commit 90dc8f3

Browse files
authored
Merge pull request #18939 from mozilla/FXA-11288
fix(payments-next): Component appears larger during loading state in Chrome
2 parents d72d088 + 9a6f330 commit 90dc8f3

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

apps/payments/next/app/[locale]/[offeringId]/[interval]/checkout/[cartId]/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export default async function CheckoutLayout({
7777
<SubscriptionTitle cart={cart} l10n={l10n} />
7878

7979
<section
80-
className="mb-6 tablet:mt-6 tablet:min-w-[18rem] tablet:max-w-xs tablet:col-start-2 tablet:col-end-auto tablet:row-start-1 tablet:row-end-3"
80+
className="mb-6 tablet:mt-6 tablet:min-w-[18rem] tablet:max-w-xs tablet:col-start-2 tablet:row-start-1 tablet:row-span-3"
8181
aria-label="Purchase details"
8282
>
8383
<PurchaseDetails
@@ -101,7 +101,7 @@ export default async function CheckoutLayout({
101101
locale={locale}
102102
/>
103103
}
104-
locale={ locale }
104+
locale={locale}
105105
/>
106106
{cart.state === CartState.START && (
107107
<div

apps/payments/next/app/[locale]/[offeringId]/[interval]/upgrade/[cartId]/(mainLayout)/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export default async function UpgradeSuccessLayout({
5151
<div className="mx-7 tablet:grid tablet:grid-cols-[minmax(min-content,500px)_minmax(20rem,1fr)] tablet:grid-rows-[min-content] tablet:gap-x-8 tablet:mb-auto desktop:grid-cols-[600px_1fr]">
5252
<SubscriptionTitle cart={cart} l10n={l10n} />
5353
<section
54-
className="mb-6 tablet:mt-6 tablet:min-w-[18rem] tablet:max-w-xs tablet:col-start-2 tablet:col-end-auto tablet:row-start-1 tablet:row-end-3"
54+
className="mb-6 tablet:mt-6 tablet:min-w-[18rem] tablet:max-w-xs tablet:col-start-2 tablet:row-start-1 tablet:row-span-3"
5555
aria-label="Upgrade details"
5656
>
5757
<PurchaseDetails
@@ -75,7 +75,7 @@ export default async function UpgradeSuccessLayout({
7575
locale={locale}
7676
/>
7777
}
78-
locale={ locale }
78+
locale={locale}
7979
/>
8080
</section>
8181
<div className="bg-white rounded-b-lg shadow-sm shadow-grey-300 border-t-0 mb-6 pt-4 px-4 pb-14 rounded-t-lg text-grey-600 tablet:clip-shadow tablet:rounded-t-none desktop:px-12 desktop:pb-12">

apps/payments/next/app/[locale]/[offeringId]/[interval]/upgrade/[cartId]/(startLayout)/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default async function UpgradeLayout({
6363
<SubscriptionTitle cart={cart} l10n={l10n} />
6464

6565
<section
66-
className="mb-6 tablet:mt-6 tablet:min-w-[18rem] tablet:max-w-xs tablet:col-start-2 tablet:col-end-auto tablet:row-start-1 tablet:row-end-3"
66+
className="mb-6 tablet:mt-6 tablet:min-w-[18rem] tablet:max-w-xs tablet:col-start-2 tablet:row-start-1 tablet:row-span-3"
6767
aria-label="Upgrade details"
6868
>
6969
<UpgradePurchaseDetails

0 commit comments

Comments
 (0)