Skip to content

Commit

Permalink
fixed some scroll snapping bounds for firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
GuidoMr committed Jan 23, 2024
1 parent a6105c5 commit 1d5a55a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/routes/24/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@
// I dont know why this works now, nor why it didnt work before i did this. All I know is DONT REMOVE THIS
if (navigator.userAgent.search('Firefox') > -1) {
console.log('FIREFOX');
scrollSnapStartRemove = 110;
scrollSnapEndBound = 500;
scrollSnapStartRemove = 119;
scrollSnapEndBound = 121;
}
});
// Element bindings
Expand Down

0 comments on commit 1d5a55a

Please sign in to comment.