feat(smooth-scroll): implement smooth scrolling functionality with Lenis integration
This commit is contained in:
@@ -62,6 +62,23 @@ body::before {
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
html.lenis,
|
||||
html.lenis body {
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.lenis.lenis-smooth {
|
||||
scroll-behavior: auto !important;
|
||||
}
|
||||
|
||||
.lenis.lenis-smooth [data-lenis-prevent] {
|
||||
overscroll-behavior: contain;
|
||||
}
|
||||
|
||||
.lenis.lenis-stopped {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.font-heading {
|
||||
font-family: "Space Grotesk", "Manrope", "Segoe UI", sans-serif;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user