Added back button to completed publishing flow

No ref
This commit is contained in:
Sanne de Vries 2022-05-19 13:39:40 +02:00
parent b03aa5f255
commit 2941065eb7
2 changed files with 18 additions and 1 deletions

View File

@ -94,6 +94,16 @@
<span>Unschedule and revert to draft &rarr;</span>
</button>
</p>
{{else}}
<p class="gh-publish-confirmation">
<button
type="button"
class="gh-back-to-editor"
{{on "click" @close}}
>
<span>Back to editor</span>
</button>
</p>
{{/if}}
{{/if}}

View File

@ -694,7 +694,7 @@
}
.gh-publish-confirmation {
margin-bottom: 7rem;
margin-bottom: 5rem;
color: var(--black);
font-size: 1.8rem;
font-weight: 400;
@ -714,6 +714,13 @@
font-weight: 500;
}
.gh-back-to-editor {
color: var(--midgrey);
font-size: 1.6rem;
font-weight: 400;
letter-spacing: .4px;
}
.gh-post-bookmark-wrapper {
margin-bottom: 4rem;
}