[site/hooks][s]: minor observer adjusment
This commit is contained in:
parent
fa0775f43a
commit
59ff08b247
|
|
@ -12,6 +12,7 @@ const getIntersectionObserver = (callback) => {
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
root: null,
|
root: null,
|
||||||
|
threshold: 0.55,
|
||||||
rootMargin: "-65px 0% -85% 0%" // 65px is a navbar height
|
rootMargin: "-65px 0% -85% 0%" // 65px is a navbar height
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue