We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7e2857 commit 8807feaCopy full SHA for 8807fea
packages/gatsby-remark-autolink-headers/src/__tests__/__snapshots__/index.js.snap
@@ -225,7 +225,6 @@ Object {
225
"data": Object {
226
"hProperties": Object {
227
"id": "heading-uno",
228
- "style": "position:relative;",
229
},
230
"htmlAttributes": Object {
231
packages/gatsby-remark-autolink-headers/src/index.js
@@ -60,9 +60,9 @@ module.exports = (
60
patch(data, `hProperties`, {})
61
patch(data.htmlAttributes, `id`, id)
62
patch(data.hProperties, `id`, id)
63
- patch(data.hProperties, `style`, `position:relative;`)
64
65
if (icon !== false) {
+ patch(data.hProperties, `style`, `position:relative;`)
66
const label = id.split(`-`).join(` `)
67
const method = isIconAfterHeader ? `push` : `unshift`
68
node.children[method]({
0 commit comments