-
-
Notifications
You must be signed in to change notification settings - Fork 84
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
Add aligned text for tooltips to align multiple lines #1029
base: master
Are you sure you want to change the base?
Conversation
Perhaps the aligning point could be set dynamically to waste less space when the elements don't fill up the space as much. The 100 point was set based on the museum text, which can get quite long, but other lines are usually near 80 so there's a big gap between the labels and the values. This would also fix potential issues with lines longer than 100px if any such line gets added in the future. |
Currently breaks tooltips on REI due to REI handling tooltip component creation manually: |
Yoinked from #786. Improved it to make it simpler to use and added some documentation.