fix(qr-modal): remove redundant rotate button and isolate background scroll and interactions (v3.8.47)

This commit is contained in:
2026-10-28 12:31:37 -03:00
parent 2d1fefa856
commit e84a236d54
8 changed files with 100 additions and 23 deletions
+17
View File
@@ -37,6 +37,17 @@
overflow-x: hidden;
position: relative;
}
html.modal-open,
body.modal-open {
overflow: hidden !important;
height: 100% !important;
touch-action: none;
overscroll-behavior: none;
}
.modal-backdrop.show {
z-index: 1075 !important;
opacity: 0.65 !important;
}
body {
font-family: 'Inter', sans-serif;
min-height: 100vh;
@@ -2235,6 +2246,12 @@
if (mobileBackdrop) mobileBackdrop.classList.remove("show");
document.body.style.overflow = "";
}
window.closeMobileSidebar = closeMobileSidebar;
// Al abrir cualquier modal (ej: QR, confirmaciones), replegar el menú móvil inmediatamente
document.addEventListener("show.bs.modal", function() {
closeMobileSidebar();
});
if (mobileBtn) {
mobileBtn.addEventListener("click", function(e) {