FIX: Incorrect header offset calculation (#15341)
I somehow changed the sign before committing #15221 🤦
This commit is contained in:
parent
2114dd53ef
commit
5eab90e0f8
|
@ -188,7 +188,7 @@ const SiteHeaderComponent = MountWidget.extend(
|
|||
let headerOffset = headerRect.top + headerRect.height;
|
||||
|
||||
if (window.scrollY < 0) {
|
||||
headerOffset -= window.scrollY;
|
||||
headerOffset += window.scrollY;
|
||||
}
|
||||
|
||||
const newValue = `${headerOffset}px`;
|
||||
|
|
Loading…
Reference in New Issue