From 0ac5554e5f936482bba6a6011b6c42ddaa009813 Mon Sep 17 00:00:00 2001 From: ai_coder Date: Thu, 22 Oct 2026 09:57:33 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=D1=83=D0=B1=D1=80=D0=B0=D1=82=D1=8C=20s?= =?UTF-8?q?crollX/pageYOffset=20=D1=83=20position:=20fixed=20=D1=82=D1=83?= =?UTF-8?q?=D0=BB=D1=82=D0=B8=D0=BF=D0=B0=20=D0=B8=20=D0=BF=D0=BE=D0=B4?= =?UTF-8?q?=D0=BD=D1=8F=D1=82=D1=8C=20z-index=20=D0=B4=D0=BE=2099999?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/static/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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() {