Skip to content

Fix #693: Add uniform bottom margin to h1 headings - #694

Open
Chetan175 wants to merge 1 commit into
containers:mainfrom
Chetan175:fix-h1-spacing
Open

Fix #693: Add uniform bottom margin to h1 headings#694
Chetan175 wants to merge 1 commit into
containers:mainfrom
Chetan175:fix-h1-spacing

Conversation

@Chetan175

Copy link
Copy Markdown

Concisely describe the change

Fixes #693
This PR resolves an issue where # (h1) headings in Markdown files were lacking a bottom margin, causing the text directly underneath to stick too closely to the heading

The fix adds mb-6 to the h1 definition in the global @layer base of main.css. This ensures that all auto-generated markdown h1 tags get a uniform bottom margin, while safely allowing custom UI components (like HeroHeader and PageHeader) to override it with their own explicit utility classes.

Before screenshot / screen recording

Screenshot 2026-08-15 022933

After screenshot / screen recording

Screenshot 2026-08-15 022939

Checklist

Ensure you have completed the following checklist for your pull request to be reviewed:

  • Certify you wrote the patch or otherwise have the right to pass it on as an open-source patch by signing all
    commits. (git commit -s). (If needed, use git commit -s --amend). The author email must match
    the sign-off email address. See CONTRIBUTING.md
    for more information.
  • Referenced issues using Fixes: #00000 in commit message (if applicable)
  • PR description, commit message, and GitHub comments are human-written, per LLM Policy

Signed-off-by: Chetan175 <chetanahuja175@gmail.com>
@antedotee

Copy link
Copy Markdown
Contributor

I believe, it would be helpful to check if there are any other places where this fix is needed, to make sure this bug doesn't appear again. Just my opinion 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Inconsistent width between heading and content on Getting started page compared to rest of the website

2 participants