From c923bdbf6430368fcf4df98c35af342856aa3201 Mon Sep 17 00:00:00 2001 From: davide3011 Date: Wed, 28 Jan 2026 16:09:36 +0100 Subject: [PATCH] fix(ui): stabilizza header in formazione e cambio servizio MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Riserva spazio fisso per l’icona del servizio per evitare scatti - Stabilizza la larghezza del punteggio inline in modalità Formazione - Migliora la coerenza visiva nelle testate home/guest --- src/components/HomePage/HomePage.html | 30 +++++++++++++++++++-------- src/style.css | 15 +++++++++++++- 2 files changed, 35 insertions(+), 10 deletions(-) diff --git a/src/components/HomePage/HomePage.html b/src/components/HomePage/HomePage.html index 7d98b6a..c8bb85e 100644 --- a/src/components/HomePage/HomePage.html +++ b/src/components/HomePage/HomePage.html @@ -74,16 +74,22 @@
- {{ sp.nomi.home }} - {{ sp.punt.home }} + {{ sp.nomi.home }} + + + + {{ sp.punt.home }} set {{ sp.set.home }}
- {{ sp.nomi.guest }} - {{ sp.punt.guest }} + + + + {{ sp.nomi.guest }} + {{ sp.punt.guest }} set {{ sp.set.guest }}
@@ -113,16 +119,22 @@
- {{ sp.nomi.guest }} - {{ sp.punt.guest }} + {{ sp.nomi.guest }} + + + + {{ sp.punt.guest }} set {{ sp.set.guest }}
- {{ sp.nomi.home }} - {{ sp.punt.home }} + + + + {{ sp.nomi.home }} + {{ sp.punt.home }} set {{ sp.set.home }}
@@ -191,4 +203,4 @@ - \ No newline at end of file + diff --git a/src/style.css b/src/style.css index 3e9d912..b061700 100644 --- a/src/style.css +++ b/src/style.css @@ -58,6 +58,19 @@ button:focus-visible { padding-right: 10px; border-radius: 5px; } +.score-inline { + display: inline-block; + min-width: 3ch; + text-align: center; +} +.serv-slot { + display: inline-flex; + width: 25px; + height: 25px; + align-items: center; + justify-content: center; + vertical-align: middle; +} .tal { text-align: left; } @@ -176,4 +189,4 @@ button:focus-visible { width: 100%; height: 0; margin: 0; -} \ No newline at end of file +}