fix(web): smooth scroll to top

This commit is contained in:
əlemi 2024-04-30 15:26:27 +02:00
parent ae4987a3c8
commit 85d0a9e69d
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -118,7 +118,7 @@ pub fn App() -> impl IntoView {
<footer> <footer>
<div> <div>
<hr class="sep" /> <hr class="sep" />
<span class="footer" >"\u{26fc} woven under moonlight :: "<a href="https://git.alemi.dev/upub.git" target="_blank" >src</a>" :: wip by alemi :: "<a href="javascript:window.scrollTo({top:0})">top</a></span> <span class="footer" >"\u{26fc} woven under moonlight :: "<a href="https://git.alemi.dev/upub.git" target="_blank" >src</a>" :: wip by alemi :: "<a href="javascript:window.scrollTo({top:0, behavior:'smooth'})">top</a></span>
</div> </div>
</footer> </footer>
} }