This is an automated email from the ASF dual-hosted git repository. rusackas pushed a commit to branch fix/table-collection-header-ellipsis in repository https://gitbox.apache.org/repos/asf/superset.git
commit 791cba717b5ff86c510730af7adfa51ed3be0d5e Author: Evan Rusackas <[email protected]> AuthorDate: Fri Jul 24 20:01:58 2026 -0700 fix(table): apply header ellipsis to the real antd cell class th.ant-column-cell matches nothing antd renders (header cells are th.ant-table-cell), so the intended header truncation in TableCollection never applied. Point the selector at the real class. Co-Authored-By: Claude Fable 5 <[email protected]> --- .../packages/superset-ui-core/src/components/TableCollection/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/superset-frontend/packages/superset-ui-core/src/components/TableCollection/index.tsx b/superset-frontend/packages/superset-ui-core/src/components/TableCollection/index.tsx index 8184dfe85ce..ea1245dde20 100644 --- a/superset-frontend/packages/superset-ui-core/src/components/TableCollection/index.tsx +++ b/superset-frontend/packages/superset-ui-core/src/components/TableCollection/index.tsx @@ -66,7 +66,7 @@ const StyledTable = styled(Table)<{ showRowCount?: boolean; }>` ${({ theme, isPaginationSticky, showRowCount }) => ` - th.ant-column-cell { + th.ant-table-cell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
