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>
pull/30438/head
Giteabot 7 months ago committed by GitHub
parent 6c228fe5d6
commit 358b28cec0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 6
      templates/org/projects/list.tmpl
  2. 2
      templates/org/projects/view.tmpl
  3. 6
      templates/user/overview/package_versions.tmpl
  4. 6
      templates/user/overview/packages.tmpl
  5. 7
      templates/user/profile.tmpl

@ -13,11 +13,9 @@
<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>
</div> </div>

@ -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">

@ -13,11 +13,9 @@
<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>
</div> </div>

@ -13,11 +13,9 @@
<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>
</div> </div>

@ -5,11 +5,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">

Loading…
Cancel
Save