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

Updated plan section styles

This commit is contained in:
Peter Zimon 2021-05-06 11:04:21 +02:00 committed by Rishabh Garg
parent 816560b7ce
commit 80cd22bfaa
3 changed files with 7 additions and 3 deletions

View file

@ -16,7 +16,7 @@ const DEV_MODE_DATA = {
showPopup: true,
site: Fixtures.site,
member: Fixtures.member.paid,
page: 'accountHome'
page: 'signup'
};
export default class App extends React.Component {
constructor(props) {

View file

@ -10,9 +10,10 @@ export const PlanSectionStyles = `
}
.gh-portal-plan-section {
display: flex;
flex-direction: column;
flex: 1;
position: relative;
display: grid;
align-items: center;
justify-items: center;
font-size: 1.4rem;
@ -110,6 +111,7 @@ export const PlanSectionStyles = `
line-height: 1.25em;
text-align: center;
letter-spacing: 0.2px;
word-break: break-word;
}
.gh-portal-plan-checkbox {
@ -231,6 +233,8 @@ export const PlanSectionStyles = `
}
.gh-portal-plans-container.vertical .gh-portal-plan-section {
display: grid;
flex-direction: unset;
grid-template-columns: 32px auto auto;
grid-template-rows: auto auto;
justify-items: start;

View file

@ -105,7 +105,7 @@ export const site = {
is_stripe_configured: true,
portal_button: true,
portal_name: true,
portal_plans: [''],
portal_plans: ['6087c314d3e64b3266bf715e', '6086f4c9823dd7240afc8084', '6087c36ed3e64b3266bf715f'],
portal_button_icon: 'icon-1',
portal_button_signup_text: 'Subscribe now',
portal_button_style: 'icon-and-text',