Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
dimaMachina committed Sep 22, 2024
1 parent af1ce6e commit 89563b2
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@ const observer: IntersectionObserver =
: new IntersectionObserver(cb, {
rootMargin: `-${getComputedStyle(document.body).getPropertyValue(
'--nextra-navbar-height'
)} 0% -80%`,
threshold: [0, 1]
)} 0% -80%`
})

export const HeadingAnchor: FC<{ id: string }> = ({ id }) => {
Expand Down

0 comments on commit 89563b2

Please sign in to comment.