jojo/web_src/js/modules
forgejo-backport-action beed05d2f7 [v14.0/forgejo] fix: modals on small viewport height (#11560)
**Backport:** https://codeberg.org/forgejo/forgejo/pulls/11547

- For small modals fomantic tried to add a `scrolling` class using a function that was not implemented, this function is now stubbed.
- There's not really a need to conditionally change the behavior of scrolling or not, we can specify `overflow-y: auto` which is more than enough to take care of this. We do add some layout changes to ensure the modal is fully scrollable.
- Refactor to nested CSS.
- Resolves forgejo/forgejo#10991

Co-authored-by: Gusted <postmaster@gusted.xyz>
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/11560
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Co-authored-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
Co-committed-by: forgejo-backport-action <forgejo-backport-action@noreply.codeberg.org>
2026-03-08 02:44:47 +01:00
..
fomantic Add form field id generation, remove duplicated ids (#30546) 2024-04-22 08:09:00 +02:00
dimmer.ts [v14.0/forgejo] fix: modals on small viewport height (#11560) 2026-03-08 02:44:47 +01:00
dirauto.js [gitea] Avoid showing unnecessary JS errors when there are elements with different origin on the page (#29081) 2024-02-10 10:53:43 +01:00
dropdown.ts feat(ui): arrow key navigation in dropdown (#10033) 2025-11-10 13:35:38 +01:00
fetch.js feat: replace cross origin protection (#9830) 2025-10-29 22:43:22 +01:00
fetch.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
fomantic.js feat: remove fomantic's tab module (#8587) 2025-07-21 22:33:17 +02:00
modal.ts feat: first native dialog for modal (#8859) 2025-09-20 20:09:17 +02:00
sortable.js Drag-and-drop improvements for projects and issue pins (#29875) 2024-03-30 07:17:31 +01:00
stores.js Refactor diffFileInfo / DiffTreeStore (#24998) 2023-05-30 18:53:15 +08:00
tab.ts feat: remove fomantic's tab module (#8587) 2025-07-21 22:33:17 +02:00
tippy.js feat: move more modals to native dialogs (#9636) 2025-10-13 17:48:49 +02:00
toast.js Reimplement editor Tab handling with accessibility safeguards (#6813) 2025-05-25 19:17:03 +02:00
toast.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00