mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-12 19:49:32 +02:00
Merge branch 'fix-docs-scroll' of https://github.com/page-down/kitty
This commit is contained in:
2
docs/_static/custom.js
vendored
2
docs/_static/custom.js
vendored
@@ -22,7 +22,7 @@ function scroll_sidebar_node_into_view(a) {
|
||||
a = a.offsetParent;
|
||||
if (!a || a == ss) break;
|
||||
}
|
||||
ss.scrollTop = pos;
|
||||
ss.scrollTo({top: pos, behavior: 'instant'});
|
||||
}
|
||||
|
||||
function mark_current_link(sidebar_tree, a, onload) {
|
||||
|
||||
Reference in New Issue
Block a user