fix(qr-modal): remove redundant rotate button and isolate background scroll and interactions (v3.8.47)
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user