From fc2af2aafa33ed76721946c9eeabdb03b827514a Mon Sep 17 00:00:00 2001 From: Lisa Chan Date: Wed, 8 Nov 2023 10:59:14 -0500 Subject: [PATCH] fix(content): Resize avatar in Subscription Management --- .../app/styles/modules/_avatar.scss | 16 +++++++++++++--- .../src/routes/Subscriptions/index.tsx | 2 +- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/packages/fxa-content-server/app/styles/modules/_avatar.scss b/packages/fxa-content-server/app/styles/modules/_avatar.scss index a7a82e9df0..a2d30830a7 100644 --- a/packages/fxa-content-server/app/styles/modules/_avatar.scss +++ b/packages/fxa-content-server/app/styles/modules/_avatar.scss @@ -48,11 +48,9 @@ // remove when Payments isn't using `avatar-settings-view` &.avatar-settings-view { border: 2px solid transparent; - display: flex; + display: block; flex-shrink: 0; margin: 0; - align-items: center; - justify-content: center; &.spinner-completed { border: 2px solid $avatar-border-color; @@ -69,6 +67,18 @@ width: 50px; } } + + .profile-image { + @include respond-to('big') { + height: 64px; + width: 64px; + } + + @include respond-to('small') { + height: 50px; + width: 50px; + } + } } #done { diff --git a/packages/fxa-payments-server/src/routes/Subscriptions/index.tsx b/packages/fxa-payments-server/src/routes/Subscriptions/index.tsx index c8a267db3d..874b4755ab 100644 --- a/packages/fxa-payments-server/src/routes/Subscriptions/index.tsx +++ b/packages/fxa-payments-server/src/routes/Subscriptions/index.tsx @@ -545,7 +545,7 @@ const ProfileBanner = ({ }: ProfileProps) => (
- {displayName + {displayName

{displayName ? displayName : email}