mirror of
https://github.com/go-gitea/gitea.git
synced 2026-04-09 17:25:15 +02:00
- Replace window resize and scroll event listeners with a ResizeObserver to monitor changes in the document body. - Implement an IntersectionObserver for the file header to trigger TOC position updates based on its visibility. - This improves performance and responsiveness of the TOC sidebar in file views.