locomotivemtl / locomotive-boilerplate

🚂 Front-end boilerplate for projects by Locomotive.
https://locomotivemtl-boilerplate.vercel.app/
MIT License
463 stars 71 forks source link

Update locomotive scroll v5 #153

Closed lucasvallenet closed 1 year ago

cloudflare-workers-and-pages[bot] commented 1 year ago

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 659ef37
Status: âœ…  Deploy successful!
Preview URL: https://3926d79d.locomotive-boilerplate.pages.dev
Branch Preview URL: https://feature-update-scroll.locomotive-boilerplate.pages.dev

View logs

lucasvallenet commented 1 year ago

Few minor things to change :

  1. Need to import locomotive-scroll essential styles in the main.scss (vendor section)
@import "node_modules/locomotive-scroll/bundled/locomotive-scroll";
  1. Delete all references (DOM classes, files) of o-scroll including the file in objects/_scroll.scss
  2. Delete components/_scrollbar.scss

Done ! I updated the markup and the docs aswell !