From 8937a46362db6202d9ff2eae770ca5923f61dba5 Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Wed, 29 Jul 2026 20:42:29 -0500 Subject: [PATCH] =?UTF-8?q?fix(formulario):=20radio=20options=20en=20fila?= =?UTF-8?q?=20horizontal=20=E2=80=94=20override=20display:flex=20+=20fix?= =?UTF-8?q?=20form=5Fcliente?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- form_cliente.php | 4 ++-- ver_formulario_enviado.php | 5 +++++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/form_cliente.php b/form_cliente.php index 15cd521..76a35e2 100644 --- a/form_cliente.php +++ b/form_cliente.php @@ -598,12 +598,12 @@ function renderCampos(esquema, prefilled) { ` + wrapClose; } else if (c.tipo === 'radio') { const opts = (c.options||[]).map(o => ` -
+
`).join(''); - html += wrapOpen + `
${lbl}${opts}${linkedNote}
` + wrapClose; + html += wrapOpen + `
${lbl}
${opts}
${linkedNote}
` + wrapClose; } else if (c.tipo === 'checkbox') { const vals = Array.isArray(val) ? val : []; const opts = (c.options||[]).map(o => ` diff --git a/ver_formulario_enviado.php b/ver_formulario_enviado.php index 135c112..8f71200 100644 --- a/ver_formulario_enviado.php +++ b/ver_formulario_enviado.php @@ -633,6 +633,11 @@ function _addExamWizardHtml(string $cid): string { align-items: center; gap: 0; } + /* radios en fila: override display:flex → inline-flex */ + .campo-edit .d-flex .form-check { + display: inline-flex; + width: auto; + } .campo-edit .form-check-input { width: 1.35em; height: 1.35em;