From 42e03380695364c992b15c367de8c450f34e7e94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Barth=C3=A9l=C3=A9my=20Ledoux?= Date: Wed, 27 Mar 2024 15:18:09 +0100 Subject: [PATCH] fix: scrollmargin to add to skipContent --- src/css/custom.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/css/custom.scss b/src/css/custom.scss index 83d74728c0..6d90acae08 100644 --- a/src/css/custom.scss +++ b/src/css/custom.scss @@ -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); +}