Hey, what's up?
I have created a website https://jimny.vercel.app/ where I used a ton of ScrollTrigger animations. All went perfectly, this forum helped me a lot.
I have encountered a problem which is very common among the people in this forum. The horizontal pinned scroll created using ScrollTrigger is overflowing the viewport width in small (mobile) devices. What I want is obviously, the scrolling section should not overflow the width.
I have tried adding a media query where I set the width of wrapper div as 100vw and overflow-x as hidden, but still it didn't worked. I have added a codepen, Please help me fix it. I really appreciate your suggestions.
Thanks a lot,
Atharv varshney