0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-14 16:13:14 +01:00
gitea/web_src/js
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
..
components Improve context popup rendering (#30824) 2024-05-02 15:42:33 +02:00
features Fix activity heat map padding & locale (#30823) 2024-05-02 13:22:55 +00:00
markup Migrate gt-hidden to tw-hidden (#30046) 2024-03-24 18:23:38 +00:00
modules Fix body margin shifting with modals, fix error on project column edit (#30831) 2024-05-03 01:48:24 +00:00
render
standalone Enforce trailing comma in JS on multiline (#30002) 2024-03-22 14:06:53 +00:00
utils Refactor and fix archive link bug (#30535) 2024-04-19 00:45:50 +08:00
vendor
webcomponents Rework and fix stopwatch (#30732) 2024-04-30 14:52:46 +00:00
bootstrap.js Update JS dependencies (#30713) 2024-04-27 11:28:28 +00:00
bootstrap.test.js
htmx.js
index.js replace jquery-minicolors with coloris (#30055) 2024-03-29 04:00:07 +01:00
jquery.js Forbid variables containing jQuery collections not having the $ prefix (#29839) 2024-03-16 12:22:16 +00:00
svg.js Update JS any PY dependencies, remove workarounds (#30085) 2024-03-26 09:41:40 +00:00
svg.test.js
utils.js
utils.test.js
vitest.setup.js