diff --git a/ui/artalk-sidebar/src/components/Pagination.vue b/ui/artalk-sidebar/src/components/Pagination.vue index 5561f2b3b..8698ec308 100644 --- a/ui/artalk-sidebar/src/components/Pagination.vue +++ b/ui/artalk-sidebar/src/components/Pagination.vue @@ -111,7 +111,10 @@ defineExpose({ prev, next, reset }) class="atk-btn atk-btn-prev" :class="{ 'atk-disabled': disabled || prevDisabled }" @click="prev()" - >Prev + aria-label="Previous page" + > + + Next + aria-label="Next page" + > + + @@ -151,7 +157,7 @@ defineExpose({ prev, next, reset }) & > .atk-btn { user-select: none; - width: 70px; + width: 60px; cursor: pointer; display: flex; justify-content: center; diff --git a/ui/artalk/src/components/pagination.ts b/ui/artalk/src/components/pagination.ts index 2a1eb9c88..cb3f8880d 100644 --- a/ui/artalk/src/components/pagination.ts +++ b/ui/artalk/src/components/pagination.ts @@ -36,9 +36,13 @@ export default class Pagination { this.$el = Utils.createElement( `