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 Add form field id generation, remove duplicated ids (#30546) 2024-04-22 08:09:00 +02:00
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 Suppress Monaco JavaScript errors in Safari (#3805) 2024-05-18 21:07:09 +00:00
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 test(js): false negative in sleep test 2024-07-02 19:35:35 +02:00
vitest.setup.js [BUG] Render emojis in labels in issue info popup 2024-03-30 11:18:46 +01:00