From 055ea6b9a5f6fe63815c8590041cc5159c496746 Mon Sep 17 00:00:00 2001 From: James Xylight Date: Wed, 5 Feb 2025 18:33:51 -0800 Subject: [PATCH] misc: tweak comment sizes for more compactness --- src/lib/components/lemmy/comment/Comment.svelte | 2 +- src/lib/components/lemmy/comment/Comments.svelte | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/components/lemmy/comment/Comment.svelte b/src/lib/components/lemmy/comment/Comment.svelte index df8755f7..3e199513 100644 --- a/src/lib/components/lemmy/comment/Comment.svelte +++ b/src/lib/components/lemmy/comment/Comment.svelte @@ -166,7 +166,7 @@ diff --git a/src/lib/components/lemmy/comment/Comments.svelte b/src/lib/components/lemmy/comment/Comments.svelte index 3e3dd5bd..b921a727 100644 --- a/src/lib/components/lemmy/comment/Comments.svelte +++ b/src/lib/components/lemmy/comment/Comments.svelte @@ -116,10 +116,10 @@ postId={post.id} node={nodes[index]} op={post.creator_id == node.comment_view.creator.id} - contentClass="pl-3 {node.children.length > 0 || + contentClass="pl-2.5 {node.children.length > 0 || node.comment_view.counts.child_count > 0 ? 'border-l' - : ''} ml-3 border-slate-200 dark:border-zinc-800" + : ''} ml-2.5 border-slate-200 dark:border-zinc-800" > {#if node.children?.length > 0}