0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-04 12:58:30 +01:00
gitea/web_src/js/modules
silverwind b30b7df9f4
Fix body margin shifting with modals, fix error on project column edit (#30831)
Fixes: https://github.com/go-gitea/gitea/issues/30816, regression from
https://github.com/go-gitea/gitea/pull/30723.
Fixes: https://github.com/go-gitea/gitea/pull/30815, regression from
https://github.com/go-gitea/gitea/pull/30723.

Fomantic [expects a
callback](59d9b40987/src/definitions/modules/modal.js (L530-L534))
to be called during `hide` which we did not do, so it could never remove
the margin it added to `body`.

I do observe the body content shifting to right by 1px when modal opens,
but this is a bug that existed on v1.21 as well, so not a regression.

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2024-05-03 01:48:24 +00:00
..
fomantic Fix body margin shifting with modals, fix error on project column edit (#30831) 2024-05-03 01:48:24 +00:00
dirauto.js Avoid showing unnecessary JS errors when there are elements with different origin on the page (#29081) 2024-02-08 02:42:18 +00:00
fetch.js Refactor request function (#29187) 2024-02-16 13:27:00 +00:00
fetch.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
fomantic.js Remove fomantic dimmer module (#30723) 2024-04-29 14:49:50 +00:00
sortable.js Drag-and-drop improvements for projects and issue pins (#29875) 2024-03-28 00:20:38 +01:00
stores.js
tippy.js Rework and fix stopwatch (#30732) 2024-04-30 14:52:46 +00:00
toast.js Remove most jQuery function calls from the repository topic box (#30191) 2024-03-31 15:39:50 +00:00
toast.test.js Use vitest globals (#27102) 2023-09-27 04:37:13 +00:00
worker.js Improve logout from worker (#30775) 2024-04-30 15:35:42 +00:00