Skip to content

fix: navbar overlaps content heading when opening a page at specific section#1

Open
khalidwaleed0 wants to merge 1 commit into
umami-software:masterfrom
khalidwaleed0:patch-1
Open

fix: navbar overlaps content heading when opening a page at specific section#1
khalidwaleed0 wants to merge 1 commit into
umami-software:masterfrom
khalidwaleed0:patch-1

Conversation

@khalidwaleed0

Copy link
Copy Markdown

Problem:

When opening any site like https://umami.is/docs#hosting, the navbar overlaps the hosting header because the scroll margin is too small.

Solution:

Change the scroll-margin-top value to at least 70px (navbar height).

Here are two images before and after my changes
before-commit
after-commit

@vercel

vercel Bot commented Apr 7, 2025

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
shiso ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 7, 2025 10:09pm

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