feat: add setting to reverse action row

This commit is contained in:
Xylight committed 2024-10-18 13:26:45 -07:00
1 parent f057f24b20
commit be2f8663b0
5 files changed
+17 -1

No files matched your search

@@ -44,7 +44,10 @@
<Translation bind:open={translating} />
{/if}
<div class="flex flex-row items-center gap-0.5 h-7">
<div
class="flex flex-row items-center gap-0.5 h-7 w-full"
class:flex-row-reverse={$userSettings.posts.reverseActions}
>
<CommentVote
bind:upvotes={comment.counts.upvotes}
bind:downvotes={comment.counts.downvotes}
@@ -151,4 +154,5 @@
{/if}
{/if}
</Menu>
<div class="flex-1 w-full" />
</div>
@@ -118,6 +118,7 @@
<footer
class="flex flex-row gap-2 items-center flex-shrink-0 {buttonHeight}"
class:flex-row-reverse={$userSettings.posts.reverseActions}
style={$$props.style ?? ''}
>
<PostVote