]> source.dussan.org Git - gitea.git/commit
Fix project name wrapping, remove horizontal margin on header (#30631) (#30654)
authorGiteabot <teabot@gitea.io>
Tue, 23 Apr 2024 10:48:36 +0000 (18:48 +0800)
committerGitHub <noreply@github.com>
Tue, 23 Apr 2024 10:48:36 +0000 (10:48 +0000)
commit2be724c85dc1bffecc0ca021eb2970024ce07128
tree91de7fe5e2d929a92f9f5c6c7c67d4ddce53c0ab
parent5c12e794455fc2378d034addd9ee3581b55e6709
Fix project name wrapping, remove horizontal margin on header (#30631) (#30654)

Backport #30631 by @silverwind

Enable wrapping of unbroken lines:

<img width="1308" alt="Screenshot 2024-04-22 at 00 31 33"
src="https://github.com/go-gitea/gitea/assets/115237/1a28ade1-d708-4260-96a3-cf508b6dcb79">

Remove extra margin added by nested `.ui.container` on certain
viewports:

Before:
<img width="1305" alt="Screenshot 2024-04-22 at 00 40 23"
src="https://github.com/go-gitea/gitea/assets/115237/d3d8c0d1-380c-4867-b95c-4d53d70d4a93">

After:
<img width="1310" alt="Screenshot 2024-04-22 at 00 40 33"
src="https://github.com/go-gitea/gitea/assets/115237/2ba7b9f2-db2f-4bcc-8cce-5c415625ddea">

---------

Co-authored-by: silverwind <me@silverwind.io>
templates/projects/list.tmpl
templates/projects/view.tmpl
web_src/css/helpers.css