7222bac4e3
Backport #25556 by @wxiaoguang Close #25551 ## Before ![image](https://github.com/go-gitea/gitea/assets/2114189/f35aebeb-9c86-4632-8c1f-1c90aa757640) ## After ![image](https://github.com/go-gitea/gitea/assets/2114189/4a623687-6c6d-442a-a4f9-07dadeb9fc6d) ---- ![image](https://github.com/go-gitea/gitea/assets/2114189/6a4e5ecf-b88b-4c22-98c3-21898bd41bc5) Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>