diy-template-components 2.0.99 → 2.0.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/index.es.js +2 -2
- package/build/index.es.js.map +1 -1
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -1428,7 +1428,7 @@ function DesktopHeader({
|
|
|
1428
1428
|
return;
|
|
1429
1429
|
}
|
|
1430
1430
|
const handleScroll = () => {
|
|
1431
|
-
if (window.scrollY >
|
|
1431
|
+
if (window.scrollY > 220) {
|
|
1432
1432
|
setIsVisible(true);
|
|
1433
1433
|
} else {
|
|
1434
1434
|
setIsVisible(false);
|
|
@@ -1648,7 +1648,7 @@ function MobileHeader({
|
|
|
1648
1648
|
body.style.marginBottom = '130px';
|
|
1649
1649
|
}
|
|
1650
1650
|
const handleScroll = () => {
|
|
1651
|
-
if (window.scrollY >
|
|
1651
|
+
if (window.scrollY > 220) {
|
|
1652
1652
|
setIsVisible(true);
|
|
1653
1653
|
} else {
|
|
1654
1654
|
setIsVisible(false);
|