From 70ff92303387ff7f6fd4cb4d62b508148c2b39d2 Mon Sep 17 00:00:00 2001 From: Zyy Date: Wed, 9 Sep 2026 19:26:55 +0800 Subject: [PATCH] fix(frontend): prevent pagination overflow on narrow screens MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Adapt visible page buttons to the pagination container width while preserving the existing button styles. Hide the total count on narrow containers and keep the page-size selector on the left with navigation on the right. Retain the total count and full pager on wider layouts. Validation: browser layout checks across 320–1280px widths and up to 1380 pages, pagination interactions and disabled states, frontend typecheck, targeted ESLint, and diff whitespace checks passed. Co-authored-by: Codex --- .../base/BaseTable/BaseTablePagination.vue | 90 ++++++++++++------- 1 file changed, 60 insertions(+), 30 deletions(-) diff --git a/frontend/src/components/base/BaseTable/BaseTablePagination.vue b/frontend/src/components/base/BaseTable/BaseTablePagination.vue index 7e0a44e9b..2ca0ff9d3 100644 --- a/frontend/src/components/base/BaseTable/BaseTablePagination.vue +++ b/frontend/src/components/base/BaseTable/BaseTablePagination.vue @@ -1,5 +1,5 @@