fix: 优化后台列表与弹窗排版

This commit is contained in:
Nixevol
2026-07-04 22:45:36 +08:00
parent f493dc061d
commit a4bce741ea
4 changed files with 30 additions and 4 deletions
+19
View File
@@ -62,6 +62,25 @@ body,
.table-fill .n-data-table-th {
white-space: nowrap;
}
.table-fill .n-data-table-td {
white-space: nowrap;
}
.n-modal.n-card {
max-width: calc(100vw - 32px);
max-height: calc(100vh - 48px);
display: flex;
flex-direction: column;
}
.n-modal.n-card > .n-card-header,
.n-modal.n-card > .n-card__footer {
flex: 0 0 auto;
}
.n-modal.n-card > .n-card-content,
.n-modal.n-card > .n-card__content {
flex: 1 1 auto;
min-height: 0;
overflow: auto;
}
.table-fill .n-data-table-td--fixed-right,
.table-fill .n-data-table-th--fixed-right {
background-color: var(--n-td-color);