This is an automated email from the ASF dual-hosted git repository.
msyavuz pushed a commit to branch enxdev/refactor/migrate-table-to-antd5
in repository https://gitbox.apache.org/repos/asf/superset.git
The following commit(s) were added to
refs/heads/enxdev/refactor/migrate-table-to-antd5 by this push:
new 0ccfdf6819 chore: readd height
0ccfdf6819 is described below
commit 0ccfdf68196c7de47f8b063640cf552e607edb41
Author: Mehmet Salih Yavuz <[email protected]>
AuthorDate: Mon Mar 24 20:41:34 2025 +0300
chore: readd height
---
superset-frontend/src/components/Table/index.tsx | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/superset-frontend/src/components/Table/index.tsx
b/superset-frontend/src/components/Table/index.tsx
index ea93c1c02f..cf55b7e4b7 100644
--- a/superset-frontend/src/components/Table/index.tsx
+++ b/superset-frontend/src/components/Table/index.tsx
@@ -163,10 +163,11 @@ const StyledTable = styled(AntTable as
FC<AntTableProps>)<{ height?: number }>(
color: ${theme.colorText};
.ant-table-body {
overflow: auto;
+ height: ${height ? `${height}px` : undefined};
}
- .ant-spin-nested-loading .ant-spin .ant-spin-dot {
- width: ${theme.sizeUnit * 12}px;
+ .antd5-spin-nested-loading .antd5-spin .antd5-spin-dot {
+ width: ${theme.sizeXXL}px;
height: unset;
}