From 95a4895e8f049e1a393359733abf8a2d56df73ea Mon Sep 17 00:00:00 2001 From: Sanne de Vries <65487235+sanne-san@users.noreply.github.com> Date: Mon, 1 Jul 2024 10:43:26 +0200 Subject: [PATCH] Center aligned feature image in email template (#20491) REF DES-380 - Center aligned feature image in email template - Updated feature image css in editor to better display image overlay and improve caption spacing --- .../components/gh-editor-feature-image.hbs | 2 +- ghost/admin/app/styles/layouts/editor.css | 51 ++++++++++++------- .../__snapshots__/email-previews.test.js.snap | 4 +- .../__snapshots__/batch-sending.test.js.snap | 2 +- .../email-templates/partials/styles-old.hbs | 1 + .../lib/email-templates/partials/styles.hbs | 1 + .../lib/email-templates/template-old.hbs | 2 +- .../lib/email-templates/template.hbs | 2 +- 8 files changed, 41 insertions(+), 24 deletions(-) diff --git a/ghost/admin/app/components/gh-editor-feature-image.hbs b/ghost/admin/app/components/gh-editor-feature-image.hbs index c6390324a2..0d934a7d87 100644 --- a/ghost/admin/app/components/gh-editor-feature-image.hbs +++ b/ghost/admin/app/components/gh-editor-feature-image.hbs @@ -50,7 +50,7 @@ {{svg-jar "koenig/kg-trash"}} -