1
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/* 按钮风格一致 */
|
||||
|
||||
Reference in New Issue
Block a user