misc: tweak comments look
This commit is contained in:
1 parent
9711ffe4d9
commit
32f65add46
5 files changed
+12
-9
No files matched your search
@@ -77,7 +77,7 @@
|
||||
{/if}
|
||||
|
||||
<li
|
||||
class="py-2 pb-3 {node.depth == 0
|
||||
class="py-2 {node.depth == 0
|
||||
? 'border-b border-slate-200 dark:border-zinc-800'
|
||||
: ''}"
|
||||
id="#{node.comment_view.comment.id.toString()}"
|
||||
@@ -101,7 +101,9 @@
|
||||
{node.comment_view.counts.score}
|
||||
</div>
|
||||
{/if}
|
||||
<RelativeDate date={new Date(node.comment_view.comment.published + 'Z')} />
|
||||
<RelativeDate
|
||||
date={new Date(node.comment_view.comment.published + 'Z')}
|
||||
/>
|
||||
<span>•</span>
|
||||
<span>
|
||||
{Math.floor(
|
||||
@@ -147,7 +149,7 @@
|
||||
<Markdown source={node.comment_view.comment.content} />
|
||||
</div>
|
||||
{#if actions}
|
||||
<div class="flex flex-row gap-2 items-center h-[26px]">
|
||||
<div class="flex flex-row gap-2 items-center">
|
||||
<CommentActions
|
||||
comment={node.comment_view}
|
||||
bind:replying
|
||||
|
||||
@@ -28,7 +28,10 @@
|
||||
Jump
|
||||
</Button>
|
||||
</div>
|
||||
<a href="/post/{getInstance()}/{comment.post.id}" class="font-bold text-base">
|
||||
<a
|
||||
href="/post/{getInstance()}/{comment.post.id}"
|
||||
class="font-medium text-base"
|
||||
>
|
||||
{comment.post.name}
|
||||
</a>
|
||||
<div class="list-none">
|
||||
|
||||
@@ -59,9 +59,7 @@
|
||||
|
||||
<div
|
||||
class="flex flex-row items-center rounded-md transition-colors
|
||||
cursor-pointer h-full {$userSettings.newComments
|
||||
? Color.borderDark
|
||||
: 'hover:bg-slate-200 hover:dark:bg-zinc-800'}"
|
||||
cursor-pointer h-full {Color.borderDark}"
|
||||
>
|
||||
<button
|
||||
on:click={upvote}
|
||||
|
||||
Reference in new issue
Block a user