change scrollTrigger for mob/desk

This commit is contained in:
saiminh 2023-10-16 11:47:28 +02:00
parent 59875b11f8
commit 1482f7304f
2 changed files with 4 additions and 3 deletions

View file

@ -30,7 +30,7 @@
scrollTrigger: {
trigger: 'article',
start: 'top top',
end: '200px top',
end: 'top -200px',
scrub: true,
}
})
@ -40,7 +40,7 @@
scrollTrigger: {
trigger: 'article',
start: 'top top',
end: '200px top',
end: 'top -200px',
scrub: true,
}
})
@ -189,6 +189,7 @@
}
.services {
opacity: 0; //changed in ServiceCanvas
visibility: hidden;
padding-bottom: calc( 2 * var(--spacing-outer));
}
.service-content {

View file

@ -148,7 +148,7 @@
scrollTrigger: {
trigger: 'article',
start: 'top top',
end: '200px top',
end: is_landscape ? 'top -40%' : 'top -50%',
scrub: true,
// markers: true,
}