From b489986edcc25a2d89580e3605570c5c9aa9af5f Mon Sep 17 00:00:00 2001 From: Djordje Vlaisavljevic Date: Fri, 19 May 2023 15:06:23 +0100 Subject: [PATCH] Updated feedback widget design on Post published refs #3244 --- .../editor/modals/publish-flow/complete.hbs | 24 +++++++++++-------- .../app/styles/components/publishmenu.css | 22 ++++++++++------- 2 files changed, 28 insertions(+), 18 deletions(-) diff --git a/ghost/admin/app/components/editor/modals/publish-flow/complete.hbs b/ghost/admin/app/components/editor/modals/publish-flow/complete.hbs index 60d52d49fb..b7054235f6 100644 --- a/ghost/admin/app/components/editor/modals/publish-flow/complete.hbs +++ b/ghost/admin/app/components/editor/modals/publish-flow/complete.hbs @@ -98,17 +98,21 @@ {{else}} {{#if (feature 'lexicalEditor')}} + Back to dashboard + {{!-- --}} {{/if}} -

- -

+ {{#unless (feature 'lexicalEditor')}} +

+ +

+ {{/unless}} {{/if}} {{/if}} {{/let}} diff --git a/ghost/admin/app/styles/components/publishmenu.css b/ghost/admin/app/styles/components/publishmenu.css index b4c681f618..29a6163e3e 100644 --- a/ghost/admin/app/styles/components/publishmenu.css +++ b/ghost/admin/app/styles/components/publishmenu.css @@ -737,19 +737,11 @@ justify-content: space-between; } -.gh-feedback-lexical-published { - margin-bottom: 2.4rem; -} - .gh-feedback-lexical-published .form-group, .gh-feedback-lexical-published textarea { min-width: 100%; max-width: 100%; } -.gh-post-bookmark-wrapper + .gh-feedback-lexical-published { - margin-bottom: 2.4rem; -} - .gh-feedback-grey .gh-feedback-lexical-published-title { font-size: 1.8rem; } @@ -760,6 +752,20 @@ margin-bottom: 0.8rem; } +.gh-feedback-lexical-published-back { + display: block; + margin-top: 1rem; + height: 40px; + color: #7c8b9a; + font-size: 1.35rem; + font-weight: 400; + line-height: 40px; + letter-spacing: .4px; + text-align: left; + white-space: nowrap; + text-overflow: ellipsis; +} + .gh-publish-confirmation-feedback { color: var(--green); font-size: 1.6rem;