Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Move diff stat badge to title line in patch teaser
Rūdolfs Ošiņš committed 1 year ago
commit ea915a698be665ed41550f38fe41a0bf2b965293
parent d41a99de05fc887c92aae361b4559287a39d7f76
1 file changed +10 -10
modified src/views/projects/Patch/PatchTeaser.svelte
@@ -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>