Skip to content

Commit

Permalink
fix: correct offset for active toc item (#233)
Browse files Browse the repository at this point in the history
![2025-01-06_15-12-38](https://github.com/user-attachments/assets/eeda6f2f-216d-42b7-ab5c-e50682bcba4f)

```release-note
修复文章目录激活项偏移错误的问题
```
  • Loading branch information
VoidYun authored Jan 6, 2025
1 parent 80b91a5 commit 4776b49
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export function generateToc() {
collapseDepth: 6,
headingsOffset: 100,
scrollSmooth: false,
tocScrollOffset: 50,
});
}

Expand Down

0 comments on commit 4776b49

Please sign in to comment.