You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
9 months ago
..
api.js Move some JS code from `fomantic.js` to standalone files (#27994) 1 year ago
aria.md Remove fomantic checkbox module (#30162) 11 months ago
base.js Add form field id generation, remove duplicated ids (#30546) 10 months ago
checkbox.js Add form field id generation, remove duplicated ids (#30546) 10 months ago
dimmer.js Fix body margin shifting with modals, fix error on project column edit (#30831) 9 months ago
dropdown.js Remove jQuery class from the comment context menu (#30179) 10 months ago
form.js Add form field id generation, remove duplicated ids (#30546) 10 months ago
modal.js Remove jQuery `.attr` from the Fomantic modal cancel buttons (#30113) 11 months ago
transition.js Move some JS code from `fomantic.js` to standalone files (#27994) 1 year ago