Skip to content

Commit 6626767

Browse files
committed
fix(toc): decrease root margin a bit
1 parent 13e0d53 commit 6626767

File tree

1 file changed

+1
-1
lines changed
  • apps/website/src/components/toc

1 file changed

+1
-1
lines changed

apps/website/src/components/toc/toc.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const useActiveItem = (itemIds: string[]) => {
3838
}
3939
});
4040
},
41-
{ rootMargin: `0% 0% -90% 0%` },
41+
{ rootMargin: `0% 0% -85% 0%` },
4242
);
4343

4444
itemIds.forEach((id) => {

0 commit comments

Comments
 (0)