diff --git a/packages/fxa-settings/src/pages/Pair2/Supplicant/TimeoutAndCancel/index.test.tsx b/packages/fxa-settings/src/pages/Pair2/Supplicant/TimeoutAndCancel/index.test.tsx
index 8f04e490941..f615edc9d59 100644
--- a/packages/fxa-settings/src/pages/Pair2/Supplicant/TimeoutAndCancel/index.test.tsx
+++ b/packages/fxa-settings/src/pages/Pair2/Supplicant/TimeoutAndCancel/index.test.tsx
@@ -132,4 +132,13 @@ describe('Pair2/Supplicant/TimeoutAndCancel page', () => {
timedOutHeading
);
});
+
+ it('renders the card on a white page background', () => {
+ renderWithLocalizationProvider(
);
+
+ // Below `mobileLandscape` the card is transparent, so the page colour is
+ // the colour the phone shows. The designs call for white, not the default
+ // grey the desktop cards sit on.
+ expect(screen.getByTestId('app')).toHaveClass('bg-white');
+ });
});
diff --git a/packages/fxa-settings/src/pages/Pair2/Supplicant/TimeoutAndCancel/index.tsx b/packages/fxa-settings/src/pages/Pair2/Supplicant/TimeoutAndCancel/index.tsx
index f50a14f1a97..49df5e01a4b 100644
--- a/packages/fxa-settings/src/pages/Pair2/Supplicant/TimeoutAndCancel/index.tsx
+++ b/packages/fxa-settings/src/pages/Pair2/Supplicant/TimeoutAndCancel/index.tsx
@@ -78,7 +78,7 @@ const TimeoutAndCancel = ({ reason }: TimeoutAndCancelProps) => {
const { headingFtlId, heading, descriptionFtlId, description } = COPY[reason];
return (
-
+