0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-17 23:44:39 -05:00

Refined signup footer for multiple products

This commit is contained in:
Peter Zimon 2021-06-29 16:30:55 +02:00
parent 0dd1637bdb
commit db12a9976f
3 changed files with 12 additions and 4 deletions

View file

@ -19,7 +19,7 @@ const DEV_MODE_DATA = {
showPopup: true,
site: Fixtures.site,
member: Fixtures.member.paid,
page: 'accountHome'
page: 'signup'
};
function SentryErrorBoundary({site, children}) {

View file

@ -192,7 +192,8 @@ export const SignupPageStyles = `
@media (max-width: 480px) {
.gh-portal-popup-wrapper.multiple-products footer.gh-portal-signup-footer,
.gh-portal-popup-wrapper.multiple-products footer.gh-portal-signin-footer {
padding: 0 24px !important;
max-width: unset;
padding: 0 32px !important;
}
.gh-portal-popup-wrapper.multiple-products.preview footer.gh-portal-signup-footer,
@ -205,6 +206,13 @@ export const SignupPageStyles = `
overflow: unset;
}
}
@media (max-width: 390px) {
.gh-portal-popup-wrapper.multiple-products footer.gh-portal-signup-footer,
.gh-portal-popup-wrapper.multiple-products footer.gh-portal-signin-footer {
padding: 0 24px !important;
}
}
`;
class SignupPage extends React.Component {

View file

@ -174,8 +174,8 @@ export const site = {
currency: 'USD'
},
portal_products: ['product_1', 'product_2', 'product_3'],
// products: [products[0]],
products: products,
products: [products[0]],
// products: products,
prices,
allow_self_signup: true,
members_signup_access: 'all',