From bf8478244bf3d5a99a834f48aed99fb2cccf7372 Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Wed, 29 Jul 2026 20:44:36 -0500 Subject: [PATCH] fix(formulario): reducir espacios en blanco en modo compact del modal Co-Authored-By: Claude Sonnet 4.6 --- ver_formulario_enviado.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ver_formulario_enviado.php b/ver_formulario_enviado.php index 8f71200..07b758f 100644 --- a/ver_formulario_enviado.php +++ b/ver_formulario_enviado.php @@ -619,12 +619,16 @@ function _addExamWizardHtml(string $cid): string { /* ── Modo compact (3 columnas para inputs cortos) ── */ @media (min-width: 480px) { - .campos-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px 14px; align-items: start; } + .campos-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3px 10px; align-items: start; } .campos-grid .campo-full { grid-column: span 3; } /* ponytail: :has() override — 4-col only when campo-cuarto present */ .campos-grid:has(.campo-cuarto) { grid-template-columns: 1fr 1fr 1fr 1fr; } .campos-grid:has(.campo-cuarto) .campo-full { grid-column: span 4; } } + .campo-edit { margin-bottom: 3px !important; } + .esquema-sep { margin: 8px 0 4px !important; } + .section-title { margin: 6px 0 4px !important; } + .section-title:first-child { margin-top: 0 !important; } /* ── Checkboxes y radios con área táctil mayor ── */ .campo-edit .form-check { padding-left: 2.2em;