Skip to content

fix(list-view-card): truncate long descriptions and surface full text…#2

Open
hbrooks wants to merge 1 commit into
masterfrom
demo/pr-40500
Open

fix(list-view-card): truncate long descriptions and surface full text…#2
hbrooks wants to merge 1 commit into
masterfrom
demo/pr-40500

Conversation

@hbrooks

@hbrooks hbrooks commented May 28, 2026

Copy link
Copy Markdown

Originally PR apache#40500 in apache/superset by @crimsondhaks

… via tooltip

Long localized strings such as 'Geändert vor ungefähr einer Stunde und siebenundzwanzig Minuten' wrap onto multiple lines or get clipped on dashboard/chart/saved-query/tag list cards because the description prop is passed straight through to AntD's Card.Meta with no overflow handling, while the title and titleRight elements in the same component already have ellipsis + tooltip patterns.

Add overflow/ellipsis CSS for .ant-card-meta-description on the styled card and wrap the description in the existing Tooltip component so the full localized text remains accessible on hover. No prop signature changes.

Fixes apache#40460
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants