Skip to content

Commit

Permalink
💚 Fix alignment, indentation and scrollbar
Browse files Browse the repository at this point in the history
  • Loading branch information
devmount committed May 13, 2024
1 parent df71a4d commit d1560da
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/DataTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
@update="updatePage"
/>
</div>
<div class="data-table overflow-x-scroll">
<div class="data-table overflow-x-auto">
<table>
<thead>
<tr>
Expand Down
22 changes: 10 additions & 12 deletions frontend/src/views/SubscriberPanelView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,18 @@
</div>
<div v-if="displayPage">
<data-table
data-name="Subscribers"
:allow-multi-select="false"
:data-list="filteredSubscribers"
:columns="columns"
:filters="filters"
:loading="loading"
@field-click="(_key, field) => disableSubscriber(field.email.value)"
data-name="Subscribers"
:allow-multi-select="false"
:data-list="filteredSubscribers"
:columns="columns"
:filters="filters"
:loading="loading"
@field-click="(_key, field) => disableSubscriber(field.email.value)"
>
<template v-slot:footer>
<div class="flex w-1/3 flex-col gap-4 text-center md:w-full md:flex-row md:text-left">
<label class="flex flex-col gap-4 md:flex-row md:gap-0">
{{ t('label.enterEmailToInvite') }}
<label class="flex flex-col gap-4 md:flex-row md:items-center md:gap-0">
<span>{{ t('label.enterEmailToInvite') }}</span>
<input
class="mx-4 w-60 rounded-md text-sm"
type="email"
Expand All @@ -53,9 +53,7 @@
</template>

<script setup>
import {
computed, inject, onMounted, ref,
} from 'vue';
import { computed, inject, onMounted, ref } from 'vue';
import { useI18n } from 'vue-i18n';
import { alertSchemes, tableDataButtonType, tableDataType } from '@/definitions';
import DataTable from '@/components/DataTable.vue';
Expand Down

0 comments on commit d1560da

Please sign in to comment.