diff --git a/ver_formulario_enviado.php b/ver_formulario_enviado.php
index 8d25105..4ef3c0b 100644
--- a/ver_formulario_enviado.php
+++ b/ver_formulario_enviado.php
@@ -978,7 +978,7 @@ function _addExamWizardHtml(string $cid): string {
}
if (($_saltarSeccion && !$modoEditar) || $_mpSkipSec) continue; ?>
>= esc2($campo['label'] ?? '') ?>
+ = ($_saltarSeccion && $modoEditar) ? 'style="max-height:0;opacity:0;overflow:hidden;pointer-events:none;margin:0;padding:0"' : '' ?>>= esc2($campo['label'] ?? '') ?>
{
ids.forEach(function(id) {
var el = document.querySelector('[data-campo-id="' + id + '"]');
if (!el) return;
- el.style.transition = 'opacity .2s, max-height .3s';
- el.style.maxHeight = activo ? '2000px' : '0';
- el.style.opacity = activo ? '1' : '0';
- el.style.overflow = activo ? '' : 'hidden';
+ el.style.transition = 'opacity .2s, max-height .3s';
+ el.style.maxHeight = activo ? '2000px' : '0';
+ el.style.opacity = activo ? '1' : '0';
+ el.style.overflow = activo ? '' : 'hidden';
el.style.pointerEvents = activo ? '' : 'none';
+ el.style.margin = activo ? '' : '0';
+ el.style.padding = activo ? '' : '0';
});
});