We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98e86d1 commit 9f1450dCopy full SHA for 9f1450d
addon/hint/show-hint.js
@@ -290,7 +290,7 @@
290
var height = box.bottom - box.top, spaceAbove = box.top - (pos.bottom - pos.top) - 2
291
if (winH - box.top < spaceAbove) { // More room at the top
292
if (height > spaceAbove) hints.style.height = (height = spaceAbove) + "px";
293
- hints.style.top = ((top = pos.top - height) + offsetTop) + "px";
+ hints.style.top = ((top = pos.top - height) - offsetTop) + "px";
294
below = false;
295
} else {
296
hints.style.height = (winH - box.top - 2) + "px";
0 commit comments