gitea/web_src
Giteabot 62d8433194
Fix mermaid diagram height when initially hidden (#32457) (#32464)
Backport #32457 by @silverwind

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">

Co-authored-by: silverwind <me@silverwind.io>
2024-11-11 04:05:42 +08:00
..
css Fix dropdown content overflow (#31610) (#32250) 2024-10-13 03:46:55 +00:00
fomantic Remove fomantic button module (#30475) 2024-04-14 17:53:52 +00:00
js Fix mermaid diagram height when initially hidden (#32457) (#32464) 2024-11-11 04:05:42 +08:00
svg Update various logos and unify their filenames (#29637) 2024-03-06 22:20:05 +00:00