diff --git a/src/components/Scroller/Scroller.stories.svelte b/src/components/Scroller/Scroller.stories.svelte index 7c992810..ad99d0b3 100644 --- a/src/components/Scroller/Scroller.stories.svelte +++ b/src/components/Scroller/Scroller.stories.svelte @@ -1,6 +1,6 @@ - + {#snippet backgroundSnippet()} This is the background content. It will stay fixed in place while the foreground scrolls over the top. - Section {index + 1} is currently active. - + Index {index} is currently active. + {/snippet} - + {#snippet foregroundSnippet()} This is the first section. This is the second section. This is the third section. - + {/snippet} diff --git a/src/components/Scroller/ScrollerBase/index.svelte b/src/components/Scroller/ScrollerBase/index.svelte index c81ffc69..15652196 100644 --- a/src/components/Scroller/ScrollerBase/index.svelte +++ b/src/components/Scroller/ScrollerBase/index.svelte @@ -1,4 +1,4 @@ - - + +hi! + + + +
This is the background content. It will stay fixed in place while the foreground scrolls over the top.
Section {index + 1} is currently active.
Index {index} is currently active.