0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-25 08:11:19 +01:00
gitea/web_src/js
silverwind b55a31eb6a
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">
2024-11-09 20:03:55 +02:00
..
components Fix a number of typescript issues (#32308) 2024-10-31 14:57:40 +00:00
features Add reviewers selection to new pull request (#32403) 2024-11-09 04:48:31 +00:00
markup Fix mermaid diagram height when initially hidden (#32457) 2024-11-09 20:03:55 +02:00
modules Refactor language menu and dom utils (#32450) 2024-11-08 14:04:24 +08:00
render Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
standalone Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
utils Refactor language menu and dom utils (#32450) 2024-11-08 14:04:24 +08:00
vendor Fix a number of typescript issues (#32308) 2024-10-31 14:57:40 +00:00
webcomponents Fix a number of typescript issues (#32308) 2024-10-31 14:57:40 +00:00
bootstrap.test.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
bootstrap.ts Add types to fetch,toast,bootstrap,svg (#31627) 2024-07-25 23:31:24 +00:00
globals.d.ts Move web globals to web_src/js/globals.d.ts (#31943) 2024-08-30 07:36:53 +00:00
globals.ts Convert frontend code to typescript (#31559) 2024-07-07 15:32:30 +00:00
htmx.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
index.ts Fix milestone deadline and date related problems (#32339) 2024-11-05 07:46:40 +00:00
svg.test.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00
svg.ts Fix suggestions for issues (#32380) 2024-10-30 20:06:36 +00:00
types.ts Refactor issue page info (#32445) 2024-11-08 02:21:13 +00:00
utils.test.ts Fix suggestions for issues (#32380) 2024-10-30 20:06:36 +00:00
utils.ts Refactor issue page info (#32445) 2024-11-08 02:21:13 +00:00
vitest.setup.ts Fix a number of Typescript issues (#31877) 2024-08-28 18:32:38 +02:00