Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tooltips when hovering over icons? #1109

Closed
ianstormtaylor opened this issue Oct 8, 2019 · 1 comment
Closed

Tooltips when hovering over icons? #1109

ianstormtaylor opened this issue Oct 8, 2019 · 1 comment
Labels
enhancement Improved functionality

Comments

@ianstormtaylor
Copy link

Related to #1108, I think it would be nice to get the legend entry name when you hover over an icon. That way you could hide the Legend for visual clutter, but readers can still opt-in to seeing what an icon represents in the rare cases they need to. (This might even make a better default.)

@Gerrit0
Copy link
Collaborator

Gerrit0 commented Oct 12, 2019

I think this would require reworking how icons are displayed.. currently they are placed in the ::before pseudo element of elements with the tsd-kind-icon. Ideally the displayed automatically on icons, we shouldn't need to add a title property on every single element...

I guess we could (ab)use the ::after pseudo element for this, but it seems like there should be a better solution.

This would be a neat feature to have if it can be done without ugly hacks.

@Gerrit0 Gerrit0 added Component: Theme enhancement Improved functionality labels Nov 13, 2019
@Gerrit0 Gerrit0 closed this as not planned Won't fix, can't repro, duplicate, stale Jun 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improved functionality
Projects
None yet
Development

No branches or pull requests

2 participants