fix: radios con 3 opciones span full en modal compact

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-07-29 20:55:13 -05:00
co-authored by Claude Sonnet 4.6
parent 4fee7f753a
commit 8a384088c3
+1 -1
View File
@@ -1223,7 +1223,7 @@ function _addExamWizardHtml(string $cid): string {
if ($tipo === 'radio'):
$opts = $campo['opciones'] ?? $campo['options'] ?? [];
?>
<div class="campo-edit<?= ($compact && count($opts) > 3) ? ' campo-full' : '' ?>" data-campo-id="<?= esc2($cid) ?>">
<div class="campo-edit<?= ($compact && count($opts) > 2) ? ' campo-full' : '' ?>" data-campo-id="<?= esc2($cid) ?>">
<label><?= $label ?></label>
<div class="d-flex flex-wrap gap-3">
<?php foreach ($opts as $opt): ?>