forgejo/web_src/js
silverwind 308812a82e
Fix mermaid diagram height when initially hidden (#32457)
In a hidden iframe, `document.body.clientHeight` is not reliable. Use
`IntersectionObserver` to detect the visibility change and update the
height there.

Fixes: https://github.com/go-gitea/gitea/issues/32392

<img width="885" alt="image"
src="https://github.com/user-attachments/assets/a95ef6aa-27e7-443f-9d06-400ef27919ae">

(cherry picked from commit b55a31eb6a894feb5508e350ff5e9548b2531bd6)
2024-11-16 15:12:25 +01:00
..
components [PORT] Fix a number of typescript issues (gitea#32308) 2024-11-04 09:15:06 +01:00
features Merge pull request 'feat: add partial quoting' (#5677) from gusted/forgejo-partial-qouting into forgejo 2024-11-05 20:13:04 +00:00
markup Fix mermaid diagram height when initially hidden (#32457) 2024-11-16 15:12:25 +01:00
modules
render
standalone [CHORE] Proper chunking for swagger 2024-08-22 15:48:05 +02:00
utils chore: add new lint rules 2024-10-23 08:10:18 +02:00
vendor
webcomponents Merge pull request '[PORT] Fix toAbsoluteLocaleDate and add more tests (gitea#32387)' (#5792) from gusted/forgejo-port-data-time into forgejo 2024-11-05 10:46:14 +00:00
bootstrap.js
bootstrap.test.js
htmx.js
index.js feat: use combo markdown editor for milestone description 2024-10-22 19:58:44 +02:00
jquery.js
svg.js ui: update pull request icons (#4455) 2024-07-16 14:38:46 +00:00
svg.test.js
utils.js chore: add new lint rules 2024-10-23 08:10:18 +02:00
utils.test.js
vitest.setup.js