Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !36280

Doc: fix offset content from fixed navbar when jumping to headings

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Julien Déramond requested to merge github/fork/julien-deramond/main-jd-fix-offset-content into main May 05, 2022
  • Overview 7
  • Commits 2
  • Pipelines 1
  • Changes 1

Closes #36278 (closed)

This PR is a suggestion to fix the issue #36278 (closed).

I've reverted the change from https://github.com/twbs/bootstrap/commit/195440f2fb1e94c014a9cf08f3eae40f3d224620 to include what was there before.

Few changes:

  • Kept the new comment
  • Removed the media-breakpoint-up(md) rule
  • Changed the value from 4rem to use the new value 5rem

Live previews examples

  • https://deploy-preview-36280--twbs-bootstrap.netlify.app/docs/5.1/customize/overview/#overview
  • https://deploy-preview-36280--twbs-bootstrap.netlify.app/docs/5.1/customize/overview/#csps-and-embedded-svgs
  • https://deploy-preview-36280--twbs-bootstrap.netlify.app/docs/5.1/examples/#snippets
  • https://deploy-preview-36280--twbs-bootstrap.netlify.app/docs/5.1/examples/#custom-components

/CC @mdo (maybe there are edge cases that I'm not aware of)

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: github/fork/julien-deramond/main-jd-fix-offset-content