mirror of
https://github.com/halo-dev/theme-earth.git
synced 2025-10-17 08:03:52 +00:00
fix: correct offset for active toc item (#233)
 ```release-note 修复文章目录激活项偏移错误的问题 ```
This commit is contained in:
@@ -50,6 +50,7 @@ export function generateToc() {
|
|||||||
collapseDepth: 6,
|
collapseDepth: 6,
|
||||||
headingsOffset: 100,
|
headingsOffset: 100,
|
||||||
scrollSmooth: false,
|
scrollSmooth: false,
|
||||||
|
tocScrollOffset: 50,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user