From ea915a698be665ed41550f38fe41a0bf2b965293 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C5=ABdolfs=20O=C5=A1i=C5=86=C5=A1?= Date: Thu, 9 May 2024 14:12:42 +0200 Subject: [PATCH] Move diff stat badge to title line in patch teaser --- src/views/projects/Patch/PatchTeaser.svelte | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views/projects/Patch/PatchTeaser.svelte b/src/views/projects/Patch/PatchTeaser.svelte index 28be7a9d1..115d2b375 100644 --- a/src/views/projects/Patch/PatchTeaser.svelte +++ b/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 @@ +
+
+ {#if commentCount > 0} + + {/if} + +
+
@@ -148,12 +156,4 @@
-
-
- {#if commentCount > 0} - - {/if} - -
-