gatsby-theme-carbon
gatsby-theme-carbon copied to clipboard
[H2 headers in all Gatsby websites on mobile] AutolinkHeader-module--anchor adds "empty row" in a multitude of occasions
The anchor that preceds the H2 headings on desktop goes AFTER the heading on mobile with an opacity:0, which means its still there. This creates a lot of random spacing problems on a lot of H2 headings on mobile, on every Gatsby website in the Carbon environment.

https://user-images.githubusercontent.com/48327647/166214332-06d10d85-a936-45d7-a9f0-f45b0a075343.mov
https://user-images.githubusercontent.com/48327647/166214369-01f6ee62-006c-4938-8ef3-1353371e5729.mov
If you just add a display:none for the mobile, that would be great. You don't need it on mobile anyway.
@alisonjoseph @mattrosno
Hey Alison & Matt,
I looked into this requested by @mjabbink who caught it this past Friday. Thx!