desktop: Mark the latest commit in a patch revision

This commit is contained in:
Brandon Oxendine
2026-11-04 10:03:06 +01:00
committed by Rūdolfs Ošiņš
parent e3c965ffa8
commit 41592b29b3
+11
View File
@@ -666,6 +666,14 @@
.commit-stats .deletions {
color: var(--color-feedback-error-text);
}
.latest-chip {
flex-shrink: 0;
white-space: nowrap;
padding: 0 0.375rem;
border-radius: var(--border-radius-sm);
background-color: var(--color-surface-brand-subtle);
color: var(--color-text-brand);
}
.commits {
display: flex;
flex-direction: column;
@@ -786,6 +794,9 @@
{/await}
{/if}
{#if commit.id === revision.head}
{#if commitList.length > 1}
<span class="latest-chip txt-body-s-medium">Latest</span>
{/if}
<JobCob {rid} commit={commit.id} />
{/if}
</CobCommitTeaser>