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 92aae3a commit 3870df7Copy full SHA for 3870df7
framework/yii/views/errorHandler/main.php
@@ -460,10 +460,10 @@
460
}
461
lineNumbers[i].style.top = parseInt(lines[i].top - top) + 'px';
462
hoverLines[i].style.top = parseInt(lines[i].top - top) + 'px';
463
- hoverLines[i].style.height = parseInt(lines[i].bottom - lines[i].top) + 'px';
+ hoverLines[i].style.height = parseInt(lines[i].bottom - lines[i].top + 1) + 'px';
464
if (parseInt(callStackItem.getAttribute('data-line')) == i) {
465
errorLine.style.top = parseInt(lines[i].top - top) + 'px';
466
- errorLine.style.height = parseInt(lines[i].bottom - lines[i].top) + 'px';
+ errorLine.style.height = parseInt(lines[i].bottom - lines[i].top + 1) + 'px';
467
468
469
};
0 commit comments