Skip to content

Conversation

jcajuab
Copy link

@jcajuab jcajuab commented Jun 25, 2025

Problem

When a DialectTab is present on a page, clicking anchor links in the side navigation causes a confusing user experience because the DialectTab covers the target content.

Before:
before

Solution

This PR adds scroll-margin-block: 4rem to :target elements when dialect tabs are detected on the page.

After:
after

Copy link

vercel bot commented Jun 25, 2025

@jcajuab is attempting to deploy a commit to the Drizzle Team on Vercel.

A member of the Team first needs to authorize it.

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