From 5cc3d943f247d20fb80fc41519f97da42836f1a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl=20van=20der=20Winden?= Date: Wed, 28 Aug 2024 12:08:25 +0200 Subject: [PATCH] Made the post preview card a link (#20846) The modal in the new publish flow has a post preview card, which did not link to the post itself. It does now (except when it's an email). --- .../app/components/modal-post-success.hbs | 62 ++++++++++--------- .../app/styles/components/publishmenu.css | 11 +++- 2 files changed, 42 insertions(+), 31 deletions(-) diff --git a/ghost/admin/app/components/modal-post-success.hbs b/ghost/admin/app/components/modal-post-success.hbs index 44e9d6dc88..c97df2a9e4 100644 --- a/ghost/admin/app/components/modal-post-success.hbs +++ b/ghost/admin/app/components/modal-post-success.hbs @@ -100,41 +100,43 @@ {{#unless this.post.emailOnly}} -
- {{#if this.post.featureImage}} - - {{else if this.post.twitterImage}} - - {{else if this.post.ogImage}} - - {{/if}} - -