Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 14 additions & 16 deletions theme/dt-theme/default/table.less
Original file line number Diff line number Diff line change
Expand Up @@ -221,14 +221,6 @@
flex-direction: column;
.ant-table-body {
flex: 1;

/** 内部嵌套表格,数据为空的情况 */
.ant-table-expanded-row .ant-table-empty {
.ant-table-placeholder {
position: relative;
top: unset;
}
}
}
}
.ant-table-fixed-left, .ant-table-fixed-right {
Expand All @@ -246,6 +238,13 @@
border: none;
}
}
/** 内部嵌套表格,数据为空的情况 */
.ant-table-expanded-row .ant-table-empty {
.ant-table-placeholder {
position: relative;
top: unset;
}
}
}
.ant-table-footer {
margin-top: -1px;
Expand Down Expand Up @@ -294,14 +293,6 @@
height: 100%;
.ant-table-body {
height: calc(100% - 44px); // 表格 header 高度为 44px

/** 内部嵌套表格,数据为空的情况 */
.ant-table-expanded-row .ant-table-empty {
.ant-table-placeholder {
position: relative;
top: unset;
}
}
}
}
.ant-table-fixed-right, .ant-table-fixed-left {
Expand All @@ -326,6 +317,13 @@
border: none;
}
}
/** 内部嵌套表格,数据为空的情况 */
.ant-table-expanded-row .ant-table-empty {
.ant-table-placeholder {
position: relative;
top: unset;
}
}
}
}
}
Expand Down
Loading