diff --git a/ghost/admin/app/components/settings/signup-form-embed.js b/ghost/admin/app/components/settings/signup-form-embed.js index f1260ac0c9..2627953268 100644 --- a/ghost/admin/app/components/settings/signup-form-embed.js +++ b/ghost/admin/app/components/settings/signup-form-embed.js @@ -42,17 +42,21 @@ export default class SignupFormEmbed extends Component { const options = { site: siteUrl, - color: this.settings.accentColor + 'button-color': this.settings.accentColor }; for (const [i, label] of this.labels.entries()) { options[`label-${i + 1}`] = label.name; } + let style = 'height: 58px'; + if (this.style === 'all-in-one') { options.logo = this.settings.icon; options.title = this.settings.title; options.description = this.settings.description; + options['background-color'] = '#f9f9f9'; + style = 'height: 60vh; min-height: 400px;'; } let dataOptionsString = ''; @@ -60,7 +64,7 @@ export default class SignupFormEmbed extends Component { dataOptionsString += ` data-${key}="${escapeHtml(value)}"`; } - return ``; + return `
`; } @task diff --git a/ghost/signup-form/index.html b/ghost/signup-form/index.html index 3676e2cec3..43215eefe8 100644 --- a/ghost/signup-form/index.html +++ b/ghost/signup-form/index.html @@ -18,55 +18,64 @@ - +When you submit this one, it will throw an error.
- +