This commit is contained in:
张成
2026-04-13 11:16:22 +08:00
parent 75149f994f
commit c73afd2325
13 changed files with 421 additions and 30 deletions

View File

@@ -186,20 +186,21 @@
text-overflow: ellipsis;
}
/* 自适应表格宽度 */
/* 与 View Design 一致:横向/纵向滚动由 .ivu-table-body 上的 overflow 类控制,避免 wrapper 与整表同高导致横向条在页面最底 */
.ivu-table-wrapper {
width: 100%;
height: 100%;
overflow-x: auto;
overflow-y: auto;
overflow: hidden;
flex: 1;
display: flex;
flex-direction: column;
min-height: 0;
}
.ivu-table {
width: 100% !important;
flex: 1;
min-height: 0;
}
/* 移除 table-layout: auto使用 iView 默认的 fixed 布局以确保列对齐 */
@@ -208,8 +209,8 @@
} */
.ivu-table-body {
overflow-y: auto;
flex: 1;
min-height: 0;
}
/* 按钮风格一致 */