0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-06 22:40:14 -05:00

Added static TK reminder step to publishing flow (#19049)

Refs https://github.com/TryGhost/Product/issues/4165
This commit is contained in:
Sanne de Vries 2023-11-22 16:36:20 +01:00 committed by GitHub
parent efc0f68b96
commit ec332520eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 19 additions and 9 deletions

View file

@ -0,0 +1,14 @@
<div class="gh-publish-title">
<div>Forget something?</div>
</div>
<p class="gh-publish-confirmation">
Looks like you've got some unfinished business. There are <strong>5 TK reminders</strong> left in your post.
</p>
<div class="gh-publish-cta">
<GhTaskButton
@buttonText="&larr; Back to editor"
@class="gh-btn gh-btn-black gh-btn-large"
/>
<button type="button" class="gh-btn gh-btn-link gh-btn-large gh-publish-cta-secondary">Continue to publish</button>
</div>

View file

@ -631,12 +631,8 @@
.gh-publish-cta {
display: flex;
flex-direction: column;
width: max-content;
}
.gh-update-flow .gh-publish-cta {
flex-direction: row;
gap: 3.2rem;
}
.gh-publish-cta .gh-btn {
@ -696,12 +692,8 @@
.gh-publish-cta-secondary {
display: block;
overflow: hidden;
margin-top: 1rem;
height: 40px;
color: var(--midgrey);
font-size: 1.35rem;
font-weight: 400;
line-height: 40px;
letter-spacing: .4px;
text-align: left;
white-space: nowrap;
@ -725,6 +717,10 @@
line-height: 1.6em;
}
.gh-publish-confirmation strong {
white-space: nowrap;
}
.gh-publish-confirmation + .gh-box-error {
margin: -4rem 0 4.8rem;
padding: 16px 20px;