misc: Change the way buttons are handled

This commit is contained in:
Xyphyn committed 2023-07-19 13:43:18 -07:00
1 parent d8ac0d807a
commit e243848e17
30 files changed
+215 -152

No files matched your search

+3 -3
View File
@@ -86,7 +86,7 @@
</div>
<div class="w-max ml-auto">
<Link href="/post/{item.post.id}#{item.comment.id}">Jump</Link>
<Button href="/post/{item.post.id}#{item.comment.id}">Jump</Button>
</div>
</div>
<div>
@@ -124,7 +124,7 @@
</p>
{#if item.recipient.id == $user?.person.id}
<div class="flex flex-row gap-2">
<Button color={Color.ghost} on:click={() => (replying = !replying)}>
<Button color="ghost" on:click={() => (replying = !replying)}>
<Icon mini src={ChatBubbleOvalLeft} width={16} />
Reply
</Button>
@@ -139,7 +139,7 @@
{loading}
large
on:click={() => replyToMessage(item)}
color={Color.accent}
color="primary"
>
Submit
</Button>