mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-01 01:30:46 +08:00
Move diff stat badge to title line in patch teaser
This commit is contained in:
@@ -40,6 +40,7 @@
|
||||
background-color: var(--color-fill-float-hover);
|
||||
}
|
||||
.content {
|
||||
width: 100%;
|
||||
gap: 0.5rem;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -55,7 +56,7 @@
|
||||
.summary {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 1rem;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
.patch-title:hover {
|
||||
text-decoration: underline;
|
||||
@@ -87,7 +88,6 @@
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
gap: 0.5rem;
|
||||
margin-left: 0.5rem;
|
||||
min-height: 1.5rem;
|
||||
}
|
||||
@media (max-width: 719.98px) {
|
||||
@@ -126,6 +126,14 @@
|
||||
</InlineMarkdown>
|
||||
</span>
|
||||
</Link>
|
||||
<div class="right">
|
||||
<div class="diff-comment">
|
||||
{#if commentCount > 0}
|
||||
<CommentCounter {commentCount} />
|
||||
{/if}
|
||||
<DiffStatBadgeLoader {projectId} {baseUrl} {patch} {latestRevision} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="summary">
|
||||
<span class="subtitle">
|
||||
@@ -148,12 +156,4 @@
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
<div class="diff-comment">
|
||||
{#if commentCount > 0}
|
||||
<CommentCounter {commentCount} />
|
||||
{/if}
|
||||
<DiffStatBadgeLoader {projectId} {baseUrl} {patch} {latestRevision} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user