Skip to content

Commit

Permalink
core playground
Browse files Browse the repository at this point in the history
  • Loading branch information
clementroche committed Dec 18, 2024
1 parent a362f00 commit 9967d28
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions playground/core/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ body {
} */

/* this prevents UI to collapse on scroll */
html,
/* html,
body {
overflow: hidden;
height: 100%;
Expand All @@ -45,4 +45,4 @@ body {
main {
height: 100%;
overflow-y: auto;
}
} */
4 changes: 2 additions & 2 deletions playground/core/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ const lenis = new Lenis({
syncTouch: true,
// wrapper: document.body,
// content: document.querySelector('main'),
wrapper: document.querySelector('main')!,
content: document.querySelector('main')?.children[0],
// wrapper: document.querySelector('main')!,
// content: document.querySelector('main')?.children[0],
// autoResize: false,
// lerp: 0.9,
// virtualScroll: (e) => {
Expand Down

0 comments on commit 9967d28

Please sign in to comment.