fix: 修复后台列表分页交互

This commit is contained in:
Nixevol
2026-07-03 05:09:32 +08:00
parent 5c564e9f24
commit 80cdcaddea
10 changed files with 90 additions and 23 deletions
+20 -2
View File
@@ -21,7 +21,8 @@ body,
min-height: 100%;
}
.page.table-page {
height: 100%;
height: calc(100vh - 56px);
max-height: calc(100vh - 56px);
display: flex;
flex-direction: column;
overflow: hidden;
@@ -37,12 +38,29 @@ body,
flex: 1 1 auto;
}
.table-fill {
flex: 1 1 auto;
flex: 1 1 0;
height: 0;
min-height: 0;
}
.table-fill .n-data-table-wrapper {
flex: 1 1 auto;
min-height: 0;
}
.table-fill .n-data-table-base-table {
min-height: 0;
}
.table-fill .n-data-table-base-table-body {
flex: 1 1 auto !important;
min-height: 0;
}
.table-pagination {
flex: 0 0 auto;
display: flex;
justify-content: flex-end;
align-items: center;
padding-top: 12px;
overflow-x: auto;
}
.table-pagination-extra {
display: inline-flex;
align-items: center;