Fix the spacing issue in the Project view (#30415) (#30423)

Backport #30415 by @HEREYUA

**fix**:  [#30388](https://github.com/go-gitea/gitea/issues/30388)

**before**

![image](https://github.com/go-gitea/gitea/assets/37935145/52ca7311-dca4-4430-9a37-3c45b08fe3dd)

**after**

![image](https://github.com/go-gitea/gitea/assets/37935145/6b75ce69-4423-4ea4-99a1-d7234287c5c0)

Co-authored-by: HEREYUA <37935145+HEREYUA@users.noreply.github.com>
(cherry picked from commit 358b28cec0086ff1c7517a69db64f34fcc897008)
This commit is contained in:
Giteabot 2024-04-12 17:23:00 +08:00 committed by Earl Warren
parent eeaf51ab1d
commit 31ebee203b
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00
5 changed files with 9 additions and 18 deletions

View file

@ -13,10 +13,8 @@
<div class="ui four wide column"> <div class="ui four wide column">
{{template "shared/user/profile_big_avatar" .}} {{template "shared/user/profile_big_avatar" .}}
</div> </div>
<div class="ui twelve wide column"> <div class="ui twelve wide column tw-mb-4">
<div class="tw-mb-4">
{{template "user/overview/header" .}} {{template "user/overview/header" .}}
</div>
{{template "projects/list" .}} {{template "projects/list" .}}
</div> </div>
</div> </div>

View file

@ -1,7 +1,7 @@
{{template "base/head" .}} {{template "base/head" .}}
<div role="main" aria-label="{{.Title}}" class="page-content repository projects view-project"> <div role="main" aria-label="{{.Title}}" class="page-content repository projects view-project">
{{template "shared/user/org_profile_avatar" .}} {{template "shared/user/org_profile_avatar" .}}
<div class="ui container"> <div class="ui container tw-mb-4">
{{template "user/overview/header" .}} {{template "user/overview/header" .}}
</div> </div>
<div class="ui container fluid padded"> <div class="ui container fluid padded">

View file

@ -13,10 +13,8 @@
<div class="ui four wide column"> <div class="ui four wide column">
{{template "shared/user/profile_big_avatar" .}} {{template "shared/user/profile_big_avatar" .}}
</div> </div>
<div class="ui twelve wide column"> <div class="ui twelve wide column tw-mb-4">
<div class="tw-mb-4">
{{template "user/overview/header" .}} {{template "user/overview/header" .}}
</div>
{{template "package/shared/versionlist" .}} {{template "package/shared/versionlist" .}}
</div> </div>
</div> </div>

View file

@ -13,10 +13,8 @@
<div class="ui four wide column"> <div class="ui four wide column">
{{template "shared/user/profile_big_avatar" .}} {{template "shared/user/profile_big_avatar" .}}
</div> </div>
<div class="ui twelve wide column"> <div class="ui twelve wide column tw-mb-4">
<div class="tw-mb-4">
{{template "user/overview/header" .}} {{template "user/overview/header" .}}
</div>
{{template "package/shared/list" .}} {{template "package/shared/list" .}}
</div> </div>
</div> </div>

View file

@ -6,11 +6,8 @@
<div class="ui four wide column"> <div class="ui four wide column">
{{template "shared/user/profile_big_avatar" .}} {{template "shared/user/profile_big_avatar" .}}
</div> </div>
<div class="ui twelve wide column"> <div class="ui twelve wide column tw-mb-4">
<div class="tw-mb-4">
{{template "user/overview/header" .}} {{template "user/overview/header" .}}
</div>
{{if eq .TabName "activity"}} {{if eq .TabName "activity"}}
{{if .ContextUser.KeepActivityPrivate}} {{if .ContextUser.KeepActivityPrivate}}
<div class="ui info message"> <div class="ui info message">