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

Updated post history timestamp format

No ref
This commit is contained in:
Sanne de Vries 2023-04-19 16:25:12 +01:00
parent fcb100141b
commit adf796f26e
2 changed files with 4 additions and 6 deletions

View file

@ -54,7 +54,7 @@
<li class="nav-list-item {{if revision.selected "selected" ""}}">
<button type="button" {{action "handleClick" index}}>
<div class="flex items-center">
<span class="gh-post-history-version">{{capitalize-first-letter (moment-from-now revision.createdAt)}}</span>
<span class="gh-post-history-version">{{gh-format-post-time revision.createdAt format="D MMM YYYY, HH:mm"}}{{this.timezone}}</span>
{{#if revision.latest}}
<span class="gh-post-history-version-current">Latest</span>
{{/if}}

View file

@ -15,17 +15,15 @@
background: var(--whitegrey-l2);
}
.nav-list-item .gh-post-history-version {
margin-bottom: 2px;
}
.nav-list-item .gh-post-history-version-meta {
margin-top: 4px;
color: var(--midgrey);
font-size: 1.35rem;
font-weight: 400;
}
.nav-list-item .gh-post-history-version-current {
margin-left: 1rem;
margin-left: .8rem;
padding: 0 4px;
background: var(--lightgrey-l2);
color: var(--darkgrey);