Skip to content

fix: remove h2 border-top separator sitewide - #86

Merged
artemkovalyov merged 1 commit into
mainfrom
fix/remove-h2-border-top
Nov 2, 2026
Merged

artemkovalyov merged 1 commit into
mainfrom
fix/remove-h2-border-top

Conversation

@artemkovalyov

Copy link
Copy Markdown
Member

Summary

  • VitePress default theme adds border-top: 1px solid var(--vp-c-divider) to every h2, causing unwanted visual separators before all section headings
  • Overrides this in custom.css to remove the border and its associated padding-top sitewide

Test plan

  • Verify section headings in docs pages no longer show a horizontal line above them
  • Verify blog post headings look clean
  • Verify the --- horizontal rule at the bottom of blog posts still renders

VitePress default theme adds a top border to every h2, which creates
unwanted visual separators before section headings in docs and blog posts.

Signed-off-by: Artem Kovalov <artem.kovalyov@gmail.com>
@artemkovalyov
artemkovalyov merged commit 83b69e5 into main Nov 2, 2026
5 checks passed
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.

1 participant