From 428429273611559df3beb96980ba6ad136367416 Mon Sep 17 00:00:00 2001 From: Sanne de Vries Date: Wed, 15 Mar 2023 12:27:03 +0100 Subject: [PATCH] Updated email spacing for when post title is hidden Refs https://github.com/TryGhost/Team/issues/2699 --- ghost/admin/app/styles/layouts/members.css | 6 +++++- ghost/email-service/lib/email-templates/partials/styles.hbs | 6 +++++- ghost/email-service/lib/email-templates/template.hbs | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ghost/admin/app/styles/layouts/members.css b/ghost/admin/app/styles/layouts/members.css index 6743986d1b..6731524aad 100644 --- a/ghost/admin/app/styles/layouts/members.css +++ b/ghost/admin/app/styles/layouts/members.css @@ -2140,7 +2140,11 @@ p.gh-members-import-errordetail:first-of-type { } .gh-members-emailpreview-content:first-child { - margin-top: 48px; + margin-top: 40px; +} + +.gh-members-emailpreview-header-image + .gh-members-emailpreview-content { + margin-top: 40px; } .gh-members-emailpreview-content p { diff --git a/ghost/email-service/lib/email-templates/partials/styles.hbs b/ghost/email-service/lib/email-templates/partials/styles.hbs index 892fde306f..8d87cc7479 100644 --- a/ghost/email-service/lib/email-templates/partials/styles.hbs +++ b/ghost/email-service/lib/email-templates/partials/styles.hbs @@ -382,6 +382,10 @@ figure blockquote p { color: #15212A; } +.feature-image-row:first-child > td { + padding-top: 16px; +} + .feature-image { padding-bottom: 30px; width: 100%; @@ -419,7 +423,7 @@ figure blockquote p { } .post-content-row:first-child > td, .header-image-row + .post-content-row > td { - padding-top: 20px; + padding-top: 40px; } .post-content a, diff --git a/ghost/email-service/lib/email-templates/template.hbs b/ghost/email-service/lib/email-templates/template.hbs index ec190ce87b..25b45afe2d 100644 --- a/ghost/email-service/lib/email-templates/template.hbs +++ b/ghost/email-service/lib/email-templates/template.hbs @@ -91,7 +91,7 @@ {{/if}} {{#if showFeatureImage }} - +