diff --git a/src/referto.js b/src/referto.js index 722b546..e23e82e 100644 --- a/src/referto.js +++ b/src/referto.js @@ -79,7 +79,7 @@ export function buildRefertoHtml(state, now = new Date()) { const vinc = vincitoreSet(s) const nomeVinc = vinc === 'h' ? nomi.home : vinc === 'g' ? nomi.guest : '' - const etichettaVinc = nomeVinc ? `  ·  vinto da ${nomeVinc}` : '' + const etichettaVinc = nomeVinc ? `vinto da ${nomeVinc}` : '' const servIcon = 'Servizio' const servHomeIcon = s.serv === 'h' ? servIcon : '' @@ -94,7 +94,8 @@ export function buildRefertoHtml(state, now = new Date()) {
SET${i + 1}
- ${servHomeIcon}${nomi.home} ${h} · ${g} ${nomi.guest}${servGuestIcon}${etichettaVinc} + ${servHomeIcon}${nomi.home} ${h} · ${g} ${nomi.guest}${servGuestIcon} + ${etichettaVinc}
Formazione di partenza
@@ -147,7 +148,8 @@ export function buildRefertoHtml(state, now = new Date()) { .set-barra span:first-child { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: bold; font-size: 11px; letter-spacing: 2px; } .set-numero { font-weight: bold; font-size: 15px; } .set-corpo { flex: 1; min-width: 0; } - .set-header { background: #eaf7fb; padding: 6px 12px; font-size: 13px; border-bottom: 1px solid #111; } + .set-header { background: #eaf7fb; padding: 6px 12px; font-size: 13px; border-bottom: 1px solid #111; display: flex; justify-content: space-between; align-items: center; gap: 10px; } + .set-vinc { flex-shrink: 0; } .serv-icon { width: 12px; height: 12px; vertical-align: middle; margin: 0 3px; } .punti-grid { display: flex; flex-wrap: wrap; gap: 0; padding: 0; border-top: 1px solid #111; }