diff --git a/beta/src/styles/index.css b/beta/src/styles/index.css index c7cc1ab7f6f..70d0cf532b9 100644 --- a/beta/src/styles/index.css +++ b/beta/src/styles/index.css @@ -239,7 +239,7 @@ html.dark .code-step * { } .mdx-heading { - scroll-margin-top: 3em; + scroll-margin-top: calc(4rem + 20px); /* Space for the anchor */ padding-right: 1em; }