Skip to content

Commit

Permalink
style: align table actions to right
Browse files Browse the repository at this point in the history
  • Loading branch information
lukicenturi committed Oct 9, 2024
1 parent 981f8fa commit c1af1ef
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions components/account/home/PaymentsTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -79,13 +79,15 @@ const payments = computed(() => {
</template>

<template #item.actions="{ row }">
<ButtonLink
:to="`/webapi/download/receipt/${row.identifier}/`"
color="primary"
external
>
{{ t('actions.download') }}
</ButtonLink>
<div class="flex gap-2 justify-end">
<ButtonLink
:to="`/webapi/download/receipt/${row.identifier}/`"
color="primary"
external
>
{{ t('actions.download') }}
</ButtonLink>
</div>
</template>
</RuiDataTable>
</div>
Expand Down
2 changes: 1 addition & 1 deletion components/account/home/SubscriptionTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@ onUnmounted(() => pause());
</div>
<div
v-else
class="capitalize mx-4 my-2"
class="capitalize m-2"
>
{{ t('common.none') }}
</div>
Expand Down

0 comments on commit c1af1ef

Please sign in to comment.