Merge pull request #207 from naturallaw777/copilot/fix-security-reset-overlay-issues

Fix security reset overlay: backdrop blur + close support modal on activation
This commit is contained in:
Sovran_Systems
2026-04-12 13:38:59 -05:00
committed by GitHub
2 changed files with 4 additions and 0 deletions

View File

@@ -222,6 +222,8 @@
position: fixed;
inset: 0;
background-color: rgba(6, 8, 7, 0.94);
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
z-index: 1000;
align-items: center;
justify-content: center;

View File

@@ -125,6 +125,8 @@ function openSecurityModal() {
var $secResetOverlay = document.getElementById("security-reset-overlay");
var $secResetStep = document.getElementById("security-reset-overlay-step");
if ($secResetOverlay) $secResetOverlay.classList.add("visible");
// Close the support modal so its content doesn't bleed through the overlay
if ($supportModal) $supportModal.classList.remove("open");
if (resetStatus) { resetStatus.textContent = "Running security reset\u2026"; resetStatus.className = "security-status-msg security-status-info"; }
try {