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 {