Skip to content

Commit

Permalink
fix: scrollmargin to add to skipContent (#5773)
Browse files Browse the repository at this point in the history
  • Loading branch information
elevatebart authored Mar 27, 2024
1 parent 852c17b commit 30a82f9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/css/custom.scss
Original file line number Diff line number Diff line change
Expand Up @@ -364,3 +364,8 @@ h6 {
.navbar-sidebar__backdrop {
@apply bg-gray-900/[.80] backdrop-blur;
}

// @see https://github.com/cypress-io/cypress-documentation/issues/5771
#__docusaurus_skipToContent_fallback {
scroll-margin-top: var(--ifm-navbar-height);
}

0 comments on commit 30a82f9

Please sign in to comment.