docs: fix scrolling issue (#4169)

This commit is contained in:
Alex Yang
2025-08-22 23:55:55 -07:00
parent d26d45741a
commit b375dffdc6

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 {