diff --git a/app/static/index.html b/app/static/index.html index aebe486..03fb7ff 100644 --- a/app/static/index.html +++ b/app/static/index.html @@ -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() {