diff --git a/www/gatsby-config.js b/www/gatsby-config.js index 0fa269ca1057e..4fcb6b5d0b9e9 100644 --- a/www/gatsby-config.js +++ b/www/gatsby-config.js @@ -163,7 +163,12 @@ module.exports = { wrapperStyle: `margin-bottom: 1.5rem`, }, }, - `gatsby-remark-autolink-headers`, + { + resolve: `gatsby-remark-autolink-headers`, + options: { + offsetY: 104 + }, + },, `gatsby-remark-copy-linked-files`, `gatsby-remark-smartypants`, ], @@ -189,7 +194,12 @@ module.exports = { wrapperStyle: `margin-bottom: 1.5rem`, }, }, - `gatsby-remark-autolink-headers`, + { + resolve: `gatsby-remark-autolink-headers`, + options: { + offsetY: 104 + }, + }, { resolve: `gatsby-remark-prismjs`, options: {