docs: fix scrolling issue (#4169)

This commit is contained in:
Alex Yang
2025-08-22 23:55:55 -07:00
committed by GitHub
parent d20f9a763c
commit 744e9e34c1
+6
View File
@@ -246,6 +246,12 @@
html {
scroll-behavior: smooth;
scroll-padding-top: calc(
var(--fd-nav-height) +
var(--fd-banner-height, 0px) +
var(--fd-tocnav-height, 0px) +
16px
);
}
@layer utilities {