-
-
- {#key score}
+
+
+
+ {#key $userSettings.separateVotes ? upvotes : score}
+
+
+
+ {/key}
+
+
+ {#if $userSettings.separateVotes}
+
+ {/if}
+
+
+ {#if $userSettings.separateVotes}
oldScore ? 4 : -4, duration: 200 }}
- out:fly={{ y: score > oldScore ? -4 : 4, duration: 200 }}
- style="grid-column: 1; grid-row: 1;"
+ class="font-medium transition-colors duration-200 grid {shouldShowVoteColor(
+ vote,
+ 'downvotes'
+ )}"
+ class:hidden={$profile?.user?.local_user_view.local_user
+ .show_scores == false}
>
-
+ {#key downvotes}
+
+
+
+ {/key}
- {/key}
-
-
+ {/if}
+
-
-