diff --git a/src/lib/components/lemmy/post/PostActions.svelte b/src/lib/components/lemmy/post/PostActions.svelte
index 51fb97cd..b4c6a5d4 100644
--- a/src/lib/components/lemmy/post/PostActions.svelte
+++ b/src/lib/components/lemmy/post/PostActions.svelte
@@ -148,11 +148,13 @@
@@ -168,6 +170,7 @@
title="Debug"
size="custom"
color="ghost"
+ rounding="pill"
class={buttonSquare}
>
@@ -176,6 +179,8 @@
{#if $profile?.user && (amMod($profile.user, post.community) || isAdmin($profile.user))}
@@ -245,7 +252,7 @@
fediseerLoading = true
const data = await fediseer.getInstanceInfo(
- new URL(post.community.actor_id).hostname,
+ new URL(post.community.actor_id).hostname
)
fediseerData = data
fediseerOpen = true
@@ -300,7 +307,7 @@
navigator.clipboard.writeText(
localShare
? `${instanceToURL(getInstance())}/post/${post.post.id}`
- : post.post.ap_id,
+ : post.post.ap_id
)
toast({ content: $t('toast.copied') })
}}
@@ -367,7 +374,7 @@
post.post.deleted = await deleteItem(
post,
!post.post.deleted,
- $profile.jwt,
+ $profile.jwt
)
}}
color="danger-subtle"
@@ -386,7 +393,7 @@
const hidden = await hidePost(
post.post.id,
!post.hidden,
- $profile?.jwt,
+ $profile?.jwt
)
post.hidden = hidden
if (hidden) {
diff --git a/src/lib/components/lemmy/post/PostVote.svelte b/src/lib/components/lemmy/post/PostVote.svelte
index 3a7377f3..b6cb5a29 100644
--- a/src/lib/components/lemmy/post/PostVote.svelte
+++ b/src/lib/components/lemmy/post/PostVote.svelte
@@ -5,7 +5,7 @@
export const shouldShowVoteColor = (
vote: number,
- type: 'upvotes' | 'downvotes',
+ type: 'upvotes' | 'downvotes'
): string =>
(vote == -1 && type == 'downvotes') || (vote == 1 && type == 'upvotes')
? voteColor(vote)
@@ -17,9 +17,13 @@
import type { Post } from 'lemmy-js-client'
import {
ArrowDown,
+ ArrowDownCircle,
ArrowUp,
+ ArrowUpCircle,
ChevronDown,
ChevronUp,
+ HandThumbDown,
+ HandThumbUp,
Icon,
Key,
} from 'svelte-hero-icons'
@@ -57,16 +61,16 @@