Aligns the page edges with the design and fixes the Contact anchor offset
The content column now uses the design's gutter as side padding instead of Chakra's 16/24/32px. The Lifestyle fotografie row on phones bled out by the gutter, so the page was 4px too wide and Chrome zoomed out slightly. The header drops its extra padding and the to-top button follows the gutter, so logo, hero controls and content share one edge. Anchored sections now scroll to the height of the shrunken header, so Contact lands right below it instead of 24px lower. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
+5
-1
@@ -156,7 +156,11 @@ const config = defineConfig({
|
||||
},
|
||||
spacing: {
|
||||
// Zelfde waarde voor content die onder de balk begint (pt="header")
|
||||
header: { value: '{sizes.header}' },
|
||||
header: {
|
||||
DEFAULT: { value: '{sizes.header}' },
|
||||
// Waar een anker onder de (dan al gekrompen) balk landt
|
||||
sticky: { value: '{sizes.header.sticky}' },
|
||||
},
|
||||
// Begin van de inhoud op een gewone pagina: onder de balk, met lucht
|
||||
pageTop: {
|
||||
value: 'calc({sizes.header} + clamp(3rem, 7vw, 6rem))',
|
||||
|
||||
Reference in New Issue
Block a user