misc: tweak comment actions

This commit is contained in:
Xylight committed 2024-08-15 17:34:02 -07:00
1 parent c4dfa7daa8
commit d950796ccd
3 files changed
+18 -11

No files matched your search

@@ -5,6 +5,7 @@
ArrowUturnLeft,
Bookmark,
BookmarkSlash,
ChatBubbleOvalLeft,
EllipsisHorizontal,
Flag,
Icon,
@@ -53,11 +54,12 @@
<Button
size="sm"
color="tertiary"
class="text-slate-600 dark:text-zinc-400"
rounding="pill"
class="text-slate-700 dark:text-zinc-300"
on:click={() => (replying = !replying)}
disabled={comment.post.locked || disabled}
>
<Icon src={ArrowUturnLeft} width={14} height={14} mini />
<Icon src={ChatBubbleOvalLeft} size="14" micro />
<span class="text-xs">{$t('comment.reply')}</span>
</Button>
{#if $profile?.user && (amMod($profile?.user, comment.community) || isAdmin($profile.user))}
@@ -66,9 +68,11 @@
<Menu placement="bottom">
<Button
slot="target"
class="!p-1 text-slate-600 dark:text-zinc-400"
title={$t('comment.actions.label')}
color="tertiary"
rounding="pill"
size="square-sm"
class="text-slate-700 dark:text-zinc-300"
>
<Icon
src={EllipsisHorizontal}