fix(formulario): reducir espacios en blanco en modo compact del modal
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
8937a46362
commit
bf8478244b
@@ -619,12 +619,16 @@ function _addExamWizardHtml(string $cid): string {
|
||||
<?php if ($compact): ?>
|
||||
/* ── 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;
|
||||
|
||||
Reference in New Issue
Block a user