diff --git a/ghost/portal/src/components/common/PlansSection.js b/ghost/portal/src/components/common/PlansSection.js index 01b60dea29..094f621f9f 100644 --- a/ghost/portal/src/components/common/PlansSection.js +++ b/ghost/portal/src/components/common/PlansSection.js @@ -146,16 +146,16 @@ export const PlanSectionStyles = ` transform: rotate(45deg); } - .gh-portal-signup-singleplan .gh-portal-plan-section { + .gh-portal-content.signup .gh-portal-section.singleplan .gh-portal-plan-section { cursor: auto; } - .gh-portal-signup-singleplan .gh-portal-plan-checkbox, - .gh-portal-signup-singleplan .gh-portal-plan-section.checked::before { + .gh-portal-content.signup .gh-portal-section.singleplan .gh-portal-plan-checkbox, + .gh-portal-content.signup .gh-portal-section.singleplan .gh-portal-plan-section.checked::before { display: none; } - .gh-portal-signup-singleplan .gh-portal-plan-name { + .gh-portal-content.signup .gh-portal-section.singleplan .gh-portal-plan-name { margin-top: 0; } `; diff --git a/ghost/portal/src/components/pages/SignupPage.js b/ghost/portal/src/components/pages/SignupPage.js index 76b3f7df83..5893930a7e 100644 --- a/ghost/portal/src/components/pages/SignupPage.js +++ b/ghost/portal/src/components/pages/SignupPage.js @@ -57,6 +57,18 @@ export const SignupPageStyles = ` font-weight: 400; margin-left: 4px; } + + .gh-portal-content.signup .gh-portal-section { + margin-bottom: 24px; + } + + .gh-portal-content.signup .gh-portal-section.noplan { + margin-bottom: 32px; + } + + .gh-portal-content.signup .gh-portal-section.single-field { + margin-bottom: 20px; + } `; class SignupPage extends React.Component { @@ -282,10 +294,9 @@ class SignupPage extends React.Component { renderPlans() { const plansData = this.getPlans(); - const plansContainerClass = plansData.length <= 1 ? 'gh-portal-signup-singleplan' : 'gh-portal-signup-multiplan'; return ( -