diff --git a/resources/js/console/components/Pagination/Pagination.vue b/resources/js/console/components/Pagination/Pagination.vue index a304fc8..c78b57c 100644 --- a/resources/js/console/components/Pagination/Pagination.vue +++ b/resources/js/console/components/Pagination/Pagination.vue @@ -1,59 +1,101 @@ diff --git a/resources/js/console/components/Table/Table.vue b/resources/js/console/components/Table/Table.vue index aaa75e4..664b240 100644 --- a/resources/js/console/components/Table/Table.vue +++ b/resources/js/console/components/Table/Table.vue @@ -57,7 +57,7 @@ v-for="(column, columnIdx) in columns" :key="`record-column-${recordIdx}-${columnIdx}`" :class="{ - 'whitespace-nowrap text-sm font-medium text-gray-900': true, + 'whitespace-nowrap text-sm text-gray-900': true, 'py-4 pl-4 pr-3 sm:pl-3': recordIdx === 0, 'px-3 py-4': recordIdx > 0, [column.contentClass]: !!column.contentClass, diff --git a/resources/js/console/screens/DocumentTemplatesList/DocumentTemplatesListScreen.vue b/resources/js/console/screens/DocumentTemplatesList/DocumentTemplatesListScreen.vue index 3a1f1f9..c21307c 100644 --- a/resources/js/console/screens/DocumentTemplatesList/DocumentTemplatesListScreen.vue +++ b/resources/js/console/screens/DocumentTemplatesList/DocumentTemplatesListScreen.vue @@ -49,11 +49,10 @@ @@ -119,6 +118,8 @@ const loadRecords = async (forcePage) => { records.value = [...documentTemplates.data]; paginationMeta.value = { ...documentTemplates.meta }; + + window.scrollTo({ top: 0, behavior: 'smooth' }); }; const onTemplateDeleted = () => loadRecords(); diff --git a/resources/js/console/screens/FilesList/FilesListScreen.vue b/resources/js/console/screens/FilesList/FilesListScreen.vue index 9e1a551..52ae811 100644 --- a/resources/js/console/screens/FilesList/FilesListScreen.vue +++ b/resources/js/console/screens/FilesList/FilesListScreen.vue @@ -9,11 +9,10 @@ @@ -80,6 +79,8 @@ const loadRecords = async (forcePage) => { records.value = [...data.data]; paginationMeta.value = { ...data.meta }; + + window.scrollTo({ top: 0, behavior: 'smooth' }); }; loadRecords(); diff --git a/resources/js/console/screens/TranslationGroupsList/TranslationGroupsListScreen.vue b/resources/js/console/screens/TranslationGroupsList/TranslationGroupsListScreen.vue index f3fa41a..ba37885 100644 --- a/resources/js/console/screens/TranslationGroupsList/TranslationGroupsListScreen.vue +++ b/resources/js/console/screens/TranslationGroupsList/TranslationGroupsListScreen.vue @@ -24,11 +24,10 @@ diff --git a/resources/js/console/screens/TranslationsList/TranslationsListScreen.vue b/resources/js/console/screens/TranslationsList/TranslationsListScreen.vue index ccb71ca..3b67c24 100644 --- a/resources/js/console/screens/TranslationsList/TranslationsListScreen.vue +++ b/resources/js/console/screens/TranslationsList/TranslationsListScreen.vue @@ -30,11 +30,10 @@