Skip to content

Commit 9033a30

Browse files
committed
build(dev): update offsets in +page.svelte
1 parent 705a802 commit 9033a30

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/routes/+page.svelte

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,17 @@
4141
</Headroom>
4242

4343
<div class="totop-wrap">
44-
<Headroom bottom showAtBottom hideAtTop toleranceUp={20} offset={100}>
44+
<Headroom bottom showAtBottom hideAtTop toleranceUp={20} offsetTop={500} offsetBottom={100}>
4545
<button class="totop" on:click={()=> window.scroll(0,0)}> <span class="caret">^</span> <span>To Top</span> </button>
4646
</Headroom>
4747
</div>
4848

4949
<article class="markdown-body entry-content container-lg" itemprop="text">
50+
5051
<Readme />
52+
5153
</article>
54+
5255
</div>
5356

5457
<style>

0 commit comments

Comments
 (0)