You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2021/07/01 18:12:40 UTC
[GitHub] [superset] rusackas commented on pull request #15505: style/tooltip
rusackas commented on pull request #15505:
URL: https://github.com/apache/superset/pull/15505#issuecomment-872451073
Hey there, thanks for the PR!
If we want to avoid a hard-coded character count, and be more dynamic (so we can expand/contract the sidebar) we might be able to use an approach like this:
https://codesandbox.io/s/ant-design-conditional-tooltip-yuxx5?file=/src/index.tsx
That `TooltipParagraph` component could be useful in a number of places in Superset - though maybe a better name might help (TitleWithTooltip or something?).
What do you think?
--
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: notifications-unsubscribe@superset.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org