feat(lugar): formularios en modal 10% más grandes en tablet
Pasa zoom=1.1 al iframe; ver_formulario_enviado.php aplica zoom al body. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
e93bb1ad41
commit
b4e45c1c22
@@ -1595,7 +1595,7 @@ function _abrirModalConToken(token) {
|
||||
load.style.display = '';
|
||||
modal.style.display = 'flex';
|
||||
setTimeout(() => {
|
||||
iframe.src = `${BASE_WA}ver_formulario_enviado.php?token=${encodeURIComponent(token)}&embed=1&compact=1`;
|
||||
iframe.src = `${BASE_WA}ver_formulario_enviado.php?token=${encodeURIComponent(token)}&embed=1&compact=1&zoom=1.1`;
|
||||
}, 80);
|
||||
}
|
||||
|
||||
@@ -1617,7 +1617,7 @@ function abrirTomaProgresiva(token, turnoId, formularioId) {
|
||||
_tomaProgresivaActiva = true;
|
||||
_setBtnCerrarConsent(true);
|
||||
setTimeout(() => {
|
||||
iframe.src = `${BASE_WA}ver_formulario_enviado.php?token=${encodeURIComponent(token)}&embed=1&compact=1&modo=toma_progresiva`;
|
||||
iframe.src = `${BASE_WA}ver_formulario_enviado.php?token=${encodeURIComponent(token)}&embed=1&compact=1&modo=toma_progresiva&zoom=1.1`;
|
||||
}, 80);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user