crimsondhaks commented on issue #40460:
URL: https://github.com/apache/superset/issues/40460#issuecomment-4563888716
Hey @semohr, I'd like to take a stab at this.
I dug into
index.tsx
and confirmed Dosu's diagnosis — description is passed straight through to
AntD's Card.Meta with no overflow handling, while title and titleRight already
have ellipsis + tooltip patterns to mirror.
My plan:
Add overflow: hidden; text-overflow: ellipsis; white-space: nowrap; to
.ant-card-meta-description inside the existing StyledCard wrapper.
Wrap the description in the existing Tooltip component so the full localized
string is reachable on hover (consistent with how title is handled in the same
file).
No prop signature changes; CSS + a tooltip wrapper. Will share before/after
screenshots in the PR. Going to verify visually using npm run dev in
superset-frontend/.
--
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]