Skip to content

Commit

Permalink
style: sentinel class
Browse files Browse the repository at this point in the history
  • Loading branch information
mstrasinskis committed Feb 18, 2025
1 parent 224bc32 commit 6da7774
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/lib/components/ScrollSentinel.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,13 @@
});
</script>

<div data-tid="sentinel" bind:this={element}></div>
<div data-tid="sentinel" class="sentinel" bind:this={element}></div>

<style lang="scss">
.sentinel {
width: 0;
height: 0;
opacity: 0;
visibility: hidden;
}
</style>

0 comments on commit 6da7774

Please sign in to comment.