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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user