From 6d6cbbd34c937f4d1a64215d467de0fa82d96db0 Mon Sep 17 00:00:00 2001 From: Sebastian Martinez Date: Wed, 7 Jun 2023 11:06:58 +0200 Subject: [PATCH] Fix margin between comments and other card elements Signed-off-by: Sebastian Martinez --- src/components/Thread.svelte | 84 ++++++++++++++++++--------------- src/views/projects/Issue.svelte | 6 +-- 2 files changed, 47 insertions(+), 43 deletions(-) diff --git a/src/components/Thread.svelte b/src/components/Thread.svelte index e7b77c1bf..db92a4dce 100644 --- a/src/components/Thread.svelte +++ b/src/components/Thread.svelte @@ -50,13 +50,17 @@ -
- -
-{#each replies as reply} -
+
+
+ id={root.id} + authorId={root.author.id} + authorAlias={root.author.alias} + timestamp={root.timestamp} + body={root.body} + showReplyIcon={Boolean($httpdStore.state === "authenticated")} + on:toggleReply={toggleReply} />
-{/each} -{#if showReplyTextarea} -
-