From 4d1be205878a39dda8f9d3cf1a03844d5530b9b8 Mon Sep 17 00:00:00 2001 From: Kamil Gabryjelski Date: Thu, 21 Aug 2025 17:47:58 +0200 Subject: [PATCH] fix: Unexpected overflow ellipsis dots after status icon in Dashboard crud --- .../packages/superset-ui-core/src/components/Table/index.tsx | 4 ++++ .../superset-ui-core/src/components/TableCollection/utils.tsx | 2 ++ superset-frontend/src/pages/DashboardList/index.tsx | 1 + 3 files changed, 7 insertions(+) diff --git a/superset-frontend/packages/superset-ui-core/src/components/Table/index.tsx b/superset-frontend/packages/superset-ui-core/src/components/Table/index.tsx index 945183d7bd78..3f7ad804a797 100644 --- a/superset-frontend/packages/superset-ui-core/src/components/Table/index.tsx +++ b/superset-frontend/packages/superset-ui-core/src/components/Table/index.tsx @@ -180,6 +180,10 @@ const StyledTable = styled(AntTable as FC)<{ height?: number }>( text-overflow: ellipsis; } + td.ant-table-cell.no-ellipsis { + text-overflow: unset; + } + .ant-table-tbody > tr > td { white-space: nowrap; overflow: hidden; diff --git a/superset-frontend/packages/superset-ui-core/src/components/TableCollection/utils.tsx b/superset-frontend/packages/superset-ui-core/src/components/TableCollection/utils.tsx index b0e31e381b58..5a17ecc555f6 100644 --- a/superset-frontend/packages/superset-ui-core/src/components/TableCollection/utils.tsx +++ b/superset-frontend/packages/superset-ui-core/src/components/TableCollection/utils.tsx @@ -56,6 +56,7 @@ type EnhancedColumnInstance = RTColumnInstance & Partial> & { hidden?: boolean; size?: keyof typeof COLUMN_SIZE_MAP; + className?: string; }; type EnhancedHeaderGroup = RTHeaderGroup & { @@ -122,6 +123,7 @@ export function mapColumns( } return val; }, + className: column.className, }; }); } diff --git a/superset-frontend/src/pages/DashboardList/index.tsx b/superset-frontend/src/pages/DashboardList/index.tsx index ce1c6019036f..8fedfdaa6463 100644 --- a/superset-frontend/src/pages/DashboardList/index.tsx +++ b/superset-frontend/src/pages/DashboardList/index.tsx @@ -361,6 +361,7 @@ function DashboardList(props: DashboardListProps) { accessor: 'published', size: 'sm', id: 'published', + className: 'no-ellipsis', }, { Cell: ({