0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-03-18 02:21:47 -05:00

Fixed some bugs and added some visual improvements

This commit is contained in:
Sodbileg Gansukh 2024-08-06 11:43:22 +08:00
parent f2454c5d13
commit a9ba4cfc74
3 changed files with 11 additions and 10 deletions

View file

@ -45,12 +45,13 @@
@close={{@close}}
/>
{{else if this.isComplete}}
<Editor::Modals::PublishFlow::Complete
{{!-- <Editor::Modals::PublishFlow::Confirm
@publishOptions={{@data.publishOptions}}
@recipientType={{this.recipientType}}
@postCount={{this.postCount}}
@saveTask={{this.saveTask}}
@cancel={{this.toggleConfirm}}
@close={{@close}}
/>
/> --}}
{{else}}
<Editor::Modals::PublishFlow::Options
@publishOptions={{@data.publishOptions}}

View file

@ -34,7 +34,7 @@ export default class PostsList extends Component {
@task
*getLatestScheduledPost() {
const result = yield this.store.query('post', {filter: 'status:scheduled', limit: 1});
const result = yield this.store.query('post', {filter: `id:${localStorage.getItem('ghost-last-scheduled-post')}`, limit: 1});
this.latestScheduledPost = result.toArray()[0];
}
}

View file

@ -909,7 +909,7 @@
display: flex;
flex-direction: column;
margin: 0;
font-size: 3.2rem;
/* font-size: 3.2rem; */
font-weight: 700;
}
@ -919,19 +919,19 @@
.modal-publish-flow .modal-body {
margin-top: 16px;
font-size: 1.8rem;
/* font-size: 1.8rem; */
line-height: 1.4;
letter-spacing: -0.005em;
/* letter-spacing: -0.005em; */
}
.modal-publish-flow .modal-footer .gh-btn {
height: 48px;
/* height: 48px; */
min-width: auto;
}
.modal-publish-flow .modal-footer .gh-btn span {
padding-inline: 16px;
font-size: 1.5rem;
/* padding-inline: 16px;
font-size: 1.5rem; */
}
.modal-publish-flow .modal-footer:has(.twitter) .gh-btn-primary {