We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 304e3ff commit ea03101Copy full SHA for ea03101
assets/js/sidebar-v2.js
@@ -43,7 +43,7 @@ document.addEventListener('DOMContentLoaded', () => {
43
(el) => el.href.includes(currentPage)
44
);
45
46
- if (match) match.scrollIntoView({ behavior: 'instant', block: 'nearest' });
+ if (match) match.scrollIntoView({ behavior: 'instant', block: 'start' });
47
});
48
49
const debounce = (callback, wait) => {
0 commit comments