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 <noreply@anthropic.com>
This commit is contained in:
2026-11-04 16:29:34 +01:00
co-authored by Claude Opus 5.5
parent 2ca29efd73
commit f12f5f92e2
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ const righe = [1, 2, 3, 4, 5, 6, 0].map((g) => {
</Base>
<style>
.hero{display:grid;grid-template-columns:1.25fr 1fr;gap:48px;align-items:end;padding:40px 0 80px}
.hero{display:grid;grid-template-columns:1.25fr 1fr;gap:48px;align-items:end;padding-top:40px;padding-bottom:80px}
address{font-style:normal}
.orari{width:100%;border-collapse:collapse;font:500 18px var(--display)}
.orari th,.orari td{padding:14px 0;border-bottom:1px solid var(--riga);text-align:left}
+1 -1
View File
@@ -57,7 +57,7 @@ const og = await getImage({ src: piazzale, width: 1200, height: 630, fit: 'cover
</Base>
<style>
.hero{display:grid;grid-template-columns:1.25fr 1fr;gap:48px;align-items:end;padding:40px 0 80px}
.hero{display:grid;grid-template-columns:1.25fr 1fr;gap:48px;align-items:end;padding-top:40px;padding-bottom:80px}
.fascia{background:var(--carta);border-top:1px solid var(--riga);border-bottom:1px solid var(--riga)}
@media (max-width:900px){.hero{grid-template-columns:1fr}}
</style>
+1 -1
View File
@@ -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) */