Skip to content

Commit

Permalink
build(dev): update offsets in +page.svelte
Browse files Browse the repository at this point in the history
  • Loading branch information
taocode committed Nov 22, 2022
1 parent 705a802 commit 9033a30
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/routes/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -41,14 +41,17 @@
</Headroom>

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

<article class="markdown-body entry-content container-lg" itemprop="text">

<Readme />

</article>

</div>

<style>
Expand Down

0 comments on commit 9033a30

Please # to comment.