From 1c921fc7fa463b33c322f705c354199ed61c68df Mon Sep 17 00:00:00 2001 From: Lizandro Guarnizo <77708265+lizandrogd@users.noreply.github.com> Date: Wed, 24 Jun 2026 00:33:35 -0500 Subject: [PATCH] fix: tags de consentimiento en examenes ya no desbordan horizontalmente MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - item-row con flex-wrap para que los tags pasen a la siguiente línea - consent-tag con word-break y max-width para textos largos - Botones de acción agrupados en .item-actions con margin-left:auto Co-Authored-By: Claude Sonnet 4.6 --- modules/turnero/views/configuracion.php | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/modules/turnero/views/configuracion.php b/modules/turnero/views/configuracion.php index 99053b4..4bf84c5 100644 --- a/modules/turnero/views/configuracion.php +++ b/modules/turnero/views/configuracion.php @@ -112,9 +112,10 @@ $tab = $_GET['tab'] ?? 'lugares'; .nav-tabs .nav-link.active { color:#1565c0; border-bottom:2px solid #1565c0; } .tab-card { background:#fff; border:1px solid #e2e8f0; border-top:none; border-radius:0 0 10px 10px; padding:24px; } .section-title { font-size:.75rem; font-weight:700; text-transform:uppercase; letter-spacing:.08em; color:#64748b; margin:0 0 14px; } - .item-row { display:flex; align-items:center; gap:8px; padding:10px 0; border-bottom:1px solid #f1f5f9; } + .item-row { display:flex; align-items:flex-start; flex-wrap:wrap; gap:6px 8px; padding:10px 0; border-bottom:1px solid #f1f5f9; } .item-row:last-child { border-bottom:none; } - .item-row .item-name { flex:1; font-weight:500; color:#1e293b; } + .item-row .item-name { flex:1; min-width:200px; font-weight:500; color:#1e293b; } + .item-row .item-actions { display:flex; gap:4px; margin-left:auto; flex-shrink:0; } .btn-icon { border:none; background:none; color:#94a3b8; cursor:pointer; padding:4px 6px; border-radius:6px; } .btn-icon:hover { background:#f1f5f9; color:#475569; } .badge-color { width:14px; height:14px; border-radius:50%; display:inline-block; flex-shrink:0; } @@ -125,7 +126,7 @@ $tab = $_GET['tab'] ?? 'lugares'; .session-badge { font-size:.75rem; padding:2px 8px; border-radius:99px; font-weight:600; } .session-open { background:#dcfce7; color:#15803d; } .session-closed{ background:#f1f5f9; color:#64748b; } - .consent-tag { font-size:.7rem; background:#ede9fe; color:#5b21b6; border-radius:99px; padding:1px 7px; white-space:nowrap; } + .consent-tag { font-size:.7rem; background:#ede9fe; color:#5b21b6; border-radius:99px; padding:2px 8px; white-space:normal; word-break:break-word; max-width:260px; } @@ -442,12 +443,14 @@ $tab = $_GET['tab'] ?? 'lugares'; ?> - - + + + +