fix: убрать scrollX/pageYOffset у position: fixed тултипа и поднять z-index до 99999
Build and deploy / build-deploy (push) Has been cancelled

This commit is contained in:
2026-10-22 09:57:33 +00:00
parent 7c73c82ac7
commit 0ac5554e5f
+4 -4
View File
@@ -148,10 +148,10 @@
/* Тултип с деталями проверки */
.seg-tip {
position: fixed; z-index: 1000; pointer-events: none;
position: fixed; z-index: 99999; pointer-events: none;
background: var(--bg2); border: 1px solid var(--border);
border-radius: 6px; padding: 8px 10px;
box-shadow: 0 6px 20px rgba(0,0,0,.45);
box-shadow: 0 6px 20px rgba(0,0,0,.6);
font-size: 12px; line-height: 1.45; color: var(--text);
max-width: 380px; white-space: pre-wrap; word-break: break-word;
display: none;
@@ -363,8 +363,8 @@ function showSegTip(el) {
left = Math.max(8, Math.min(left, window.innerWidth - tr.width - 8));
let top = r.top - tr.height - 8;
if (top < 8) top = r.bottom + 8;
tip.style.left = `${left + window.pageXOffset}px`;
tip.style.top = `${top + window.pageYOffset}px`;
tip.style.left = `${left}px`;
tip.style.top = `${top}px`;
}
function hideSegTip() {