fix(web): smooth scroll to top
This commit is contained in:
parent
ae4987a3c8
commit
85d0a9e69d
1 changed files with 1 additions and 1 deletions
|
@ -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>
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue