Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix body margin shifting with modals, fix error on project column edit (
go-gitea#30831) Fixes: go-gitea#30816, regression from go-gitea#30723. Fixes: go-gitea#30815, regression from go-gitea#30723. Fomantic [expects a callback](https://github.com/fomantic/Fomantic-UI/blob/59d9b409879ad9413ea0a3efa4ab2e51017ad9b9/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 <[email protected]>
- Loading branch information