[X] This issue is not a question, feature request, RFC, or anything other than a bug report. Please post those things in GitHub Discussions: https://github.com/gatsbyjs/gatsby/discussions
Summary
I changed my background color to black and noticed a 8px margin in the html body. I did a google search and this is a common issue users run into. The quick fix should be added in a how-to article in gatsbyjs docs. I tried the fix listed at https://github.com/gatsbyjs/gatsby/issues/28821 which removed the 8px margin.
Steps to Resolve this Issue
Create a styles.css file at the root of your project
Create a gatsby-browser.js at the root of your project and import the styles.css file
Preliminary Checks
Summary
I changed my background color to black and noticed a 8px margin in the html body. I did a google search and this is a common issue users run into. The quick fix should be added in a how-to article in gatsbyjs docs. I tried the fix listed at https://github.com/gatsbyjs/gatsby/issues/28821 which removed the 8px margin.
Steps to Resolve this Issue