dosubot[bot] commented on issue #40460: URL: https://github.com/apache/superset/issues/40460#issuecomment-4553140672
<!-- Greeting --> Hi @semohr! I'm [Dosu](https://go.dosu.dev/dosubot) and I’m helping the superset team. <!-- Answer --> The root cause here is that `ListViewCard` applies `text-overflow: ellipsis` styling to the **title** and **cover footer** elements, but **not** to the description field where the "Modified at" timestamp is rendered [[1]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/packages/superset-ui-core/src/components/ListViewCard/index.tsx#L87-L93). The description is passed directly to Ant Design's `Card.Meta` component without any custom overflow handling [[2]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/packages/superset-ui-core/src/components/ListViewCard/index.tsx#L226-L254). The rendering chain is: - `DashboardCard` / `ChartCard` format the string via `t('Modified %s', changed_on_delta_humanized)` [[3]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/features/dashboards/DashboardCard.tsx#L178) [[4]](https://github.com/apache/superset/blob/829e4d92d91ceae4b43b1ed3b063ffe45377799c/superset-frontend/src/features/charts/ChartCard.tsx#L185) - This is passed as the `description` prop to `ListViewCard` - `ListViewCard` passes it to Ant Design's `Card.Meta`, which has no built-in truncation for long descriptions A fix would likely involve adding overflow/ellipsis styling to the `.ant-card-meta-description` element within `ListViewCard`'s styled wrapper, similar to what's already done for the title. A `title` attribute (tooltip) on the description element would preserve access to the full text on hover. <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=reply-with-mention&utm_term=apache%2Fsuperset).* --- Share context across your team and agents. Try [Dosu](https://dosu.dev?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-tagline&utm_term=apache%2Fsuperset). [](https://app.dosu.dev/response-feedback?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-feedback&utm_term=apache%2Fsuperset&message_id=e5869179-1e58-4c8d-9242-1fa9e8b3e9f0) [](https://github.dosu.com/apache/superset?utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-learn-repo&utm_term=apache%2Fsuperset) [](https://app.dosu.dev/signup?referrer=openSource&source=github-footer&utm_source=github&utm_medium=bot-comment&utm_campaign=github-comment-footer-20260415&utm_content=knowledge-infrastructure-add-team&utm_term=apache%2Fsuperset) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
