doc: add a smooth scrolling effect to the sidebar

PR-URL: https://github.com/nodejs/node/pull/59007
Reviewed-By: Aviv Keller <me@aviv.sh>
This commit is contained in:
btea authored and GitHub committed 2025-12-24 03:04:57 +00:00
1 parent 5e677d6e7e
commit ae407c3109
1 file changed
+1 -1
+1 -1
View File
@@ -197,7 +197,7 @@
if (!link) return;
link.scrollIntoView({ block: 'center' });
link.scrollIntoView({ behavior: 'smooth', block: 'center' });
}