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:
co-authored by
Claude Sonnet 4.6
parent
4fee7f753a
commit
8a384088c3
@@ -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): ?>
|
||||
|
||||
Reference in New Issue
Block a user