diff --git a/css/style.css b/css/style.css index ba5c1a3..c7d0130 100644 --- a/css/style.css +++ b/css/style.css @@ -128,6 +128,8 @@ html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; overscroll-behavior: none; + /* Stesso colore della tab bar: se il sistema lascia una fascia sotto il guscio, non si nota */ + background: color-mix(in srgb, var(--brand-900) 92%, black); } body { @@ -241,8 +243,12 @@ button { Solo il contenuto scorre: il resto resta fermo come in un'app. -------------------------------------------------------------------------- */ +/* Ancorato ai bordi dello schermo: su iOS (app installata, barra di stato trasparente) le altezze in vh/dvh + possono risultare più corte dello schermo e lasciare una fascia vuota sotto la tab bar */ .app-shell { - height: 100vh; + position: fixed; + inset: 0; + height: 100%; height: 100dvh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto;