Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-25 19:26:09 +01:00
forgejo/web_src
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
..
css Remove unused css class "form-field-content-aside-label" 2024-11-09 22:59:50 +00:00
fomantic Lock file maintenance (forgejo) (#5804) 2024-11-04 05:54:02 +00:00
js Fix mermaid diagram height when initially hidden (#32457) 2024-11-16 15:12:25 +01:00
svg Arch packages implementation (#4785) 2024-08-04 06:16:29 +00:00