diff --git a/assets/css/style.css b/assets/css/style.css index 5856056..00dd8aa 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -123,6 +123,7 @@ body { display: flex; align-items: center; width: 100%; + position: relative; gap: 8px; } @@ -132,17 +133,25 @@ body { display: flex; align-items: center; gap: 6px; + position: relative; + z-index: 1; } -/* Title wrap — fills available space, left-aligned */ +/* Title wrap — absolutely centered in the full header width */ .header-title-wrap { - flex: 1 1 0; + position: absolute; + left: 0; + right: 0; display: flex; + justify-content: center; align-items: center; gap: 8px; - min-width: 0; + pointer-events: none; overflow: hidden; } +.header-title-wrap > * { + pointer-events: auto; +} .header-title { font-size: 1.3rem; @@ -218,9 +227,12 @@ body { /* Actions — fixed-width, no stretching */ .header-actions { flex: 0 0 auto; + margin-left: auto; display: flex; gap: 8px; align-items: center; + position: relative; + z-index: 1; } /* ── Base header button — all action icons use this ─────────────────── */ diff --git a/index.html b/index.html index a8e56d5..0c531f3 100644 --- a/index.html +++ b/index.html @@ -11,7 +11,7 @@ EverShelf - + @@ -67,7 +67,7 @@

- EverShelfv1.7.2 + EverShelfv1.7.3

diff --git a/manifest.json b/manifest.json index 4919d98..89ab6fe 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name": "EverShelf", "short_name": "EverShelf", "description": "Gestione completa della dispensa di casa con scansione barcode", - "version": "1.7.2", + "version": "1.7.3", "start_url": "/evershelf/", "display": "standalone", "background_color": "#f0f4e8",