diff --git a/client/src/pages/email-sign-up.css b/client/src/pages/email-sign-up.css index 16a84c7e6f1..7284a34701e 100644 --- a/client/src/pages/email-sign-up.css +++ b/client/src/pages/email-sign-up.css @@ -3,6 +3,15 @@ font-size: 1rem; } +/* +This is a temporary fix until the component library is revisited. +See https://github.com/freeCodeCamp/freeCodeCamp/issues/52131#issuecomment-1788840851. +*/ +.email-list-opt { + display: flex; + flex-wrap: wrap; +} + @media (min-width: 500px) { .email-sign-up strong, .email-sign-up p { diff --git a/client/src/pages/email-sign-up.tsx b/client/src/pages/email-sign-up.tsx index e1fe59d4b4f..c2c01c6b73e 100644 --- a/client/src/pages/email-sign-up.tsx +++ b/client/src/pages/email-sign-up.tsx @@ -61,32 +61,34 @@ function EmailListOptIn({ const { t } = useTranslation(); if (isSignedIn) { return ( - - - - - - - - - - + + + + + + + + + + + + ); } else { return (