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:
@@ -222,6 +222,8 @@
|
|||||||
position: fixed;
|
position: fixed;
|
||||||
inset: 0;
|
inset: 0;
|
||||||
background-color: rgba(6, 8, 7, 0.94);
|
background-color: rgba(6, 8, 7, 0.94);
|
||||||
|
backdrop-filter: blur(8px);
|
||||||
|
-webkit-backdrop-filter: blur(8px);
|
||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
|
|||||||
@@ -125,6 +125,8 @@ function openSecurityModal() {
|
|||||||
var $secResetOverlay = document.getElementById("security-reset-overlay");
|
var $secResetOverlay = document.getElementById("security-reset-overlay");
|
||||||
var $secResetStep = document.getElementById("security-reset-overlay-step");
|
var $secResetStep = document.getElementById("security-reset-overlay-step");
|
||||||
if ($secResetOverlay) $secResetOverlay.classList.add("visible");
|
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"; }
|
if (resetStatus) { resetStatus.textContent = "Running security reset\u2026"; resetStatus.className = "security-status-msg security-status-info"; }
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in New Issue
Block a user