Skip to content

Commit

Permalink
Scrollspy final adjustment 🤞
Browse files Browse the repository at this point in the history
chadokruse committed Nov 25, 2024
1 parent 099e671 commit 1bb0cf6
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
@@ -13,10 +13,7 @@
let { id, classes = '', children }: Props = $props();
let options: Options = {
threshold:
id === 'overview' ? 0
: id === 'people' ? 1
: 0.6,
threshold: id === 'overview' || id === 'people' ? 1 : 0.6,
unobserveOnEnter: false,
};

0 comments on commit 1bb0cf6

Please sign in to comment.