GitbookIO / gitbook

The open source frontend for GitBook doc sites
https://www.gitbook.com
GNU General Public License v3.0
27.23k stars 3.88k forks source link

Add a scroll margin to the top when layout has sections #2574

Closed BrettJephson closed 5 days ago

BrettJephson commented 5 days ago

When we have section tabs showing we add a scroll margin to the top so the hash anchor element is visible.

Resolves RND-5500

linear[bot] commented 5 days ago

RND-5500 Anchors with new nav bar on GBO aren't positioning correctly

changeset-bot[bot] commented 5 days ago

🦋 Changeset detected

Latest commit: 16ccdfdffeaa717940ab1774c2f8d52c1f342e42

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------- | ----- | | gitbook | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 5 days ago

GitBook Preview Latest commit: https://2f8922c9.gitbook-open.pages.dev PR: https://pr2574.gitbook-open.pages.dev

argos-ci[bot] commented 5 days ago

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) 👍 Changes approved 13 changed Nov 19, 2024, 4:31 PM