From f12f5f92e21b68ae140bd5b8a5ba741401a7fd2f Mon Sep 17 00:00:00 2001 From: andrearuffini Date: Wed, 4 Nov 2026 16:29:34 +0100 Subject: [PATCH] fix: restore side gutter on mobile hero and page headers The padding shorthand on .hero and .page-head zeroed the 28px horizontal padding from .wrap, so content touched the screen edges on mobile. Set only padding-top/padding-bottom instead. Co-Authored-By: Claude Opus 5.5 --- src/pages/dove-siamo.astro | 2 +- src/pages/index.astro | 2 +- src/styles/global.css | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/pages/dove-siamo.astro b/src/pages/dove-siamo.astro index e9f0ac6..bdd4f99 100644 --- a/src/pages/dove-siamo.astro +++ b/src/pages/dove-siamo.astro @@ -36,7 +36,7 @@ const righe = [1, 2, 3, 4, 5, 6, 0].map((g) => { diff --git a/src/styles/global.css b/src/styles/global.css index 5b0d59d..4a131c3 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -38,7 +38,7 @@ h2{font:800 clamp(34px,4.4vw,58px)/1 var(--display);letter-spacing:-.03em;color: /* sections */ section{padding:110px 0} -.page-head{padding:40px 0 70px} +.page-head{padding-top:40px;padding-bottom:70px} .due{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:start} /* photo slots (placeholder finché non arrivano le foto reali) */