1
0
mirror of https://github.com/nostalgic-css/NES.css.git synced 2025-09-08 21:30:47 +02:00

docs: fix scroll to top

This commit is contained in:
BcRikko
2019-02-26 20:53:50 +09:00
parent 576719a42c
commit ef1b04c56c
2 changed files with 1 additions and 10 deletions

View File

@@ -199,7 +199,7 @@
</div>
<!-- FAB Button -->
<button type="button" class="nes-btn is-error scroll-btn" :class="{ active: scrollPos > 500 }" @click="toTop"><span>&lt;</span></button>
<button type="button" class="nes-btn is-error scroll-btn" :class="{ active: scrollPos > 500 }" @click="window.scrollTo({ top:0, behavior: 'smooth' })"><span>&lt;</span></button>
</div>
</div>
</body>