0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-12 07:23:13 +01:00
gitea/web_src/js/modules/fomantic
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
..
api.js Move some JS code from fomantic.js to standalone files (#27994) 2023-11-12 07:15:00 +00:00
aria.md Remove fomantic checkbox module (#30162) 2024-03-29 04:56:01 +00:00
base.js Add form field id generation, remove duplicated ids (#30546) 2024-04-18 09:01:06 +00:00
checkbox.js Add form field id generation, remove duplicated ids (#30546) 2024-04-18 09:01:06 +00:00
dimmer.js Fix body margin shifting with modals, fix error on project column edit (#30831) 2024-05-03 01:48:24 +00:00
dropdown.js Remove jQuery class from the comment context menu (#30179) 2024-03-30 10:40:39 +01:00
form.js Add form field id generation, remove duplicated ids (#30546) 2024-04-18 09:01:06 +00:00
modal.js Remove jQuery .attr from the Fomantic modal cancel buttons (#30113) 2024-03-26 19:57:57 +00:00
transition.js Move some JS code from fomantic.js to standalone files (#27994) 2023-11-12 07:15:00 +00:00