obsidian-tasks: Floating tooltips would block the task text when short mode is on
Expected Behavior
Floating tooltips don’t block the task text.
Current behaviour
Here is an example, notice that tooltip blocks the text. My cursor is on the forth task.

Steps to reproduce
Just add short mode option to task query.
Which Operating Systems are you using?
- Android
- iPhone/iPad
- Linux
- macOS
- Windows
Obsidian Version
0.15.9
Tasks Plugin Version
1.11.0
Checks
- I have tried it with all other plugins disabled and the error still occurs
Possible solution
Move floating tooltips a litter higher.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 18 (1 by maintainers)
Commits related to this issue
- fix: Tooltip pop up above the description of task in short mode Tooltip used to have `mod-right` animation which block the task text in short mode. Fixes #1147 — committed to HynDuf/obsidian-tasks by HynDuf a year ago
- fix: Tooltip pops up above task description in short mode (#1735) Tooltip used to have `mod-right` animation which block the task text in short mode. Fixes #1147 — committed to obsidian-tasks-group/obsidian-tasks by HynDuf a year ago
I found a way (might be just a workaround) to implement this.
Add this CSS to the end of
.obsidian/plugins/obsidian-tasks-plugin/styles.cssin your vault folder.After that, open
.obsidian/plugins/obsidian-tasks-plugin/main.jsand search fortooltip. There will be a line withn.addClasses(["tooltip", "mod-right"]). Replacemod-rightwithfix.Restart Obsidian and it will work. Thank @XDcedar for this. I would have wasted a lot more time without your discovers.
I could make a PR on this but the solution is kind of a workaround and not necessarily clean.
Hi @HynDuf, thank you - a PR a would be very welcome, if you have the time at some point.
@XDcedar Thank you, and no problem at all. Your comments will likely give someone else clues!
@XDcedar - wow. Thank you very much indeed for the help!