-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Fix tooltip alignment logic and removed hover blockage #4809 #4851
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
base: master
Are you sure you want to change the base?
Fix tooltip alignment logic and removed hover blockage #4809 #4851
Conversation
|
✅ All Jest tests passed! This PR is ready to merge. |
js/toolbar.js
Outdated
| console.log("Tooltip override block REACHED!"); | ||
| const icons = Array.from(document.querySelectorAll('.tooltipped')); | ||
| const right_icons = Array.from(document.querySelectorAll('ul.main.right a')); | ||
| const left_below_icons = Array.from(document.querySelectorAll('ul.aux.ledt a')); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ledt?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
she meant left probably
index.html
Outdated
| </li> | ||
| <li> | ||
| <a id="stop" class="left tooltipped"><i class="material-icons main">stop</i></a> | ||
| <a id="stop" class="left tooltipped"><i class="material-icons main ">stop</i></a> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why are you adding the space?
|
Can you be clear about what changes in the UX from this PR? |
|
✅ All Jest tests passed! This PR is ready to merge. |
|
✅ All Jest tests passed! This PR is ready to merge. |
Earlier tooltips used to have a fixed position. As a result:
With this modification:
In general, this results in a cleaner, easier-to-use, and less annoying user interface, particularly when interacting with closely spaced buttons. Also, Some changes in the diff are due to automatic code formatting applied by my IDE. |
|
I believe this is too much for something as simple as tooltips. |
This PR fixes incorrect tooltip placement by
Fixes #4809