Fix the spacing issue in the Project view (#30415)
**fix**: [#30388](https://github.com/go-gitea/gitea/issues/30388)
**before**

**after**

(cherry picked from commit e8a99c8f92c5b36382abb38a1471c94245457560)
authored by