mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
perf: optimize katex config, implement async css loading for katex, improve scrollbar and lightbox loading logic
This commit is contained in:
parent
625879b061
commit
979f36a796
6 changed files with 66 additions and 60 deletions
|
@ -11,7 +11,7 @@ function setupGithubCards() {
|
|||
observer.unobserve(entry.target)
|
||||
}
|
||||
})
|
||||
}, { rootMargin: '200px' })
|
||||
}, { rootMargin: '400px' })
|
||||
|
||||
githubCards.forEach(card => observer.observe(card))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue