From 6017e93264442113b65f73e2176e8c8700717cc0 Mon Sep 17 00:00:00 2001 From: wzj <244142824@qq.com> Date: Tue, 24 Jun 2025 15:09:25 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=96=B0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/styles.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/static/styles.css b/static/styles.css index f0b557d..a702c1a 100644 --- a/static/styles.css +++ b/static/styles.css @@ -441,18 +441,18 @@ input:checked + .slider:before { /* 分页样式 */ .pagination { - position: absolute; - bottom: 0; - left: 0; - right: 0; - padding-top: 20px; - background: white; + display: flex; + justify-content: center; + margin: 20px 0; + gap: 5px; + position: relative; /* 改为相对定位 */ + bottom: auto; } /* 固定分页区域位置 */ .table-container { - min-height: 400px; /* 根据你的需要调整这个高度 */ - position: relative; + min-height: calc(100vh - 400px); /* 动态计算最小高度 */ + margin-bottom: 60px; /* 为分页留出空间 */ } .pagination a, .pagination span {