FIX: scroll only screen

This commit is contained in:
valere
2024-11-03 17:27:54 +01:00
parent 7f8ed0e8a0
commit f972137389

View File

@@ -47,7 +47,7 @@ useSeoMeta({
const dataStore = useDataStore()
const scrollDown = function () {
window.scrollTo({ top: document.body.scrollHeight, behavior: 'smooth' })
window.scrollTo({ top: window.innerHeight, behavior: 'smooth' })
}
</script>