mirror of
https://github.com/go-gitea/gitea.git
synced 2026-01-25 14:55:20 +01: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.