From 806ae0b5520a9dbadbb0d52168b5f6584a44e7e4 Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Wed, 29 Jul 2026 21:01:51 -0500 Subject: [PATCH] =?UTF-8?q?fix:=20colapsar=20m=C3=A1rgenes=20!important=20?= =?UTF-8?q?de=20secciones=20condicionales=20ocultas?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- ver_formulario_enviado.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ver_formulario_enviado.php b/ver_formulario_enviado.php index 8e7136e..0ed0959 100644 --- a/ver_formulario_enviado.php +++ b/ver_formulario_enviado.php @@ -1032,7 +1032,7 @@ function _addExamWizardHtml(string $cid): string { } if (($_saltarSeccion && !$modoEditar) || $_mpSkipSec) continue; ?>
>
+ > { 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'; + if (activo) { el.style.removeProperty('margin'); el.style.removeProperty('padding'); } + else { el.style.setProperty('margin','0','important'); el.style.setProperty('padding','0','important'); } }); });