misc: tweak comment sizes for more compactness
This commit is contained in:
1 parent
d39aa9d4d2
commit
055ea6b9a5
2 files changed
+3
-3
No files matched your search
@@ -166,7 +166,7 @@
|
|||||||
<span class:font-bold={op} class="flex flex-row gap-1 items-center">
|
<span class:font-bold={op} class="flex flex-row gap-1 items-center">
|
||||||
<UserLink
|
<UserLink
|
||||||
inComment
|
inComment
|
||||||
avatarSize={24}
|
avatarSize={20}
|
||||||
avatar
|
avatar
|
||||||
user={node.comment_view.creator}
|
user={node.comment_view.creator}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -116,10 +116,10 @@
|
|||||||
postId={post.id}
|
postId={post.id}
|
||||||
node={nodes[index]}
|
node={nodes[index]}
|
||||||
op={post.creator_id == node.comment_view.creator.id}
|
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
|
node.comment_view.counts.child_count > 0
|
||||||
? 'border-l'
|
? '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}
|
{#if node.children?.length > 0}
|
||||||
<Comments {post} nodes={nodes[index].children} isParent={false} />
|
<Comments {post} nodes={nodes[index].children} isParent={false} />
|
||||||
|
|||||||
Reference in new issue
Block a user