Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a short how-to article for removing the 8px margin in html body #38921

Open
2 tasks done
dianacheung opened this issue Apr 4, 2024 · 0 comments
Open
2 tasks done
Labels
status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer type: documentation An issue or pull request for improving or updating Gatsby's documentation

Comments

@dianacheung
Copy link

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 #28821 which removed the 8px margin.

Steps to Resolve this Issue

  1. Create a styles.css file at the root of your project
  2. Create a gatsby-browser.js at the root of your project and import the styles.css file
@dianacheung dianacheung added the type: documentation An issue or pull request for improving or updating Gatsby's documentation label Apr 4, 2024
@gatsbot gatsbot bot added the status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer label Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: triage needed Issue or pull request that need to be triaged and assigned to a reviewer type: documentation An issue or pull request for improving or updating Gatsby's documentation
Projects
None yet
Development

No branches or pull requests

1 participant