0
0
mirror of https://github.com/go-gitea/gitea.git synced 2026-01-25 14:55:20 +01:00
hamki e7fb9af3cb refactor: enhance TOC position updates with ResizeObserver and IntersectionObserver
- 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.
2025-12-28 15:48:23 +08:00
..