Skip to content

Commit 699f310

Browse files
authored
Merge pull request #19465 from mozilla/PAY-3265
fix(payments-next): Fix avatar and email on new Subscription Management page
2 parents 3bb241f + 1018d82 commit 699f310

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

  • apps/payments/next/app/[locale]/subscriptions

apps/payments/next/app/[locale]/subscriptions/layout.tsx

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,17 @@ export default async function SubscriptionsLayout({
5353
)}
5454
width="48"
5555
height="48"
56-
className="w-12 h-12 tablet:w-16 tablet:h-16"
56+
className="w-12 h-12 rounded-full tablet:w-16 tablet:h-16"
5757
/>
5858
<h1
5959
id="profile-heading"
60-
className="overflow-hidden font-semibold text-ellipsis text-start text-nowrap tablet:text-xl"
60+
className="overflow-hidden text-start tablet:text-xl"
6161
>
62-
<div>{session?.user?.name || session?.user?.email}</div>
62+
<div className="font-semibold mb-1 overflow-hidden text-ellipsis text-nowrap">
63+
{session?.user?.name || session?.user?.email}
64+
</div>
6365
{session?.user?.name && (
64-
<div className="font-normal text-base text-grey-400 mb-0">
66+
<div className="font-normal overflow-hidden text-base text-ellipsis text-grey-400 text-nowrap mb-0">
6567
{session?.user?.email}
6668
</div>
6769
)}

0 commit comments

Comments
 (0)