fix(leads): keep the filter panel from shifting the page

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-11-08 20:58:18 +03:30
co-authored by Cursor
parent ef58922e13
commit 3c9b906bd6
2 changed files with 58 additions and 48 deletions
+1 -1
View File
@@ -360,7 +360,7 @@ function place() {
function liftAboveOverlays() {
let z = 120;
for (const el of document.querySelectorAll('.ant-modal-wrap, .ant-drawer, .ant-popover')) {
for (const el of document.querySelectorAll('.ant-modal-wrap, .ant-drawer, .ant-popover, [data-lead-filter]')) {
const zi = Number.parseInt(window.getComputedStyle(el).zIndex, 10);
if (Number.isFinite(zi)) z = Math.max(z, zi + 20);
}