Skip to content

Commit 76f8eaa

Browse files
committed
Fix scroll heading behind header
Fixes #117
1 parent 4bbabd3 commit 76f8eaa

2 files changed

Lines changed: 5 additions & 9 deletions

File tree

src/data/footer-items.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ export const footerItems = {
33
{ label: 'Blog', href: '/blog' },
44
{
55
label: 'How to cite Parcels',
6-
href: '/papers-citing-parcels#how-to-cite-parcels',
6+
href: '/papers-citing-parcels',
77
},
88
{
99
label: 'Papers citing Parcels',
10-
href: '/papers-citing-parcels',
10+
href: '/papers-citing-parcels#papers-citing-parcels',
1111
},
1212
{
1313
label: 'Brand Assets',

src/pages/papers-citing-parcels.js

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -112,18 +112,14 @@ const PapersCitingParcels = () => {
112112
>
113113
<Box as='section' py={20}>
114114
<Container maxW='container.lg'>
115-
<Heading
116-
as='h1'
117-
size='2xl'
118-
textAlign={'center'}
119-
id='how-to-cite-parcels'
120-
>
115+
<Heading as='h1' size='2xl' textAlign={'center'}>
121116
How to cite Parcels
122117
</Heading>
123118

124119
<HowToCite />
120+
<Box id='papers-citing-parcels' />
125121

126-
<Heading as='h1' size='2xl' textAlign={'center'}>
122+
<Heading as='h1' size='2xl' textAlign={'center'} mt={32}>
127123
Papers Citing Parcels
128124
</Heading>
129125

0 commit comments

Comments
 (0)