Skip to content

Commit

Permalink
Fix the spacing issue in the Project view (#30415) (#30423)
Browse files Browse the repository at this point in the history
Backport #30415 by @HEREYUA

**fix**:  [#30388](#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>
  • Loading branch information
GiteaBot and HEREYUA authored Apr 12, 2024
1 parent 6c228fe commit 358b28c
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 18 deletions.
6 changes: 2 additions & 4 deletions templates/org/projects/list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@
<div class="ui four wide column">
{{template "shared/user/profile_big_avatar" .}}
</div>
<div class="ui twelve wide column">
<div class="tw-mb-4">
<div class="ui twelve wide column tw-mb-4">
{{template "user/overview/header" .}}
</div>
{{template "projects/list" .}}
{{template "projects/list" .}}
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion templates/org/projects/view.tmpl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{template "base/head" .}}
<div role="main" aria-label="{{.Title}}" class="page-content repository projects view-project">
{{template "shared/user/org_profile_avatar" .}}
<div class="ui container">
<div class="ui container tw-mb-4">
{{template "user/overview/header" .}}
</div>
<div class="ui container fluid padded">
Expand Down
6 changes: 2 additions & 4 deletions templates/user/overview/package_versions.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@
<div class="ui four wide column">
{{template "shared/user/profile_big_avatar" .}}
</div>
<div class="ui twelve wide column">
<div class="tw-mb-4">
<div class="ui twelve wide column tw-mb-4">
{{template "user/overview/header" .}}
</div>
{{template "package/shared/versionlist" .}}
{{template "package/shared/versionlist" .}}
</div>
</div>
</div>
Expand Down
6 changes: 2 additions & 4 deletions templates/user/overview/packages.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@
<div class="ui four wide column">
{{template "shared/user/profile_big_avatar" .}}
</div>
<div class="ui twelve wide column">
<div class="tw-mb-4">
<div class="ui twelve wide column tw-mb-4">
{{template "user/overview/header" .}}
</div>
{{template "package/shared/list" .}}
{{template "package/shared/list" .}}
</div>
</div>
</div>
Expand Down
7 changes: 2 additions & 5 deletions templates/user/profile.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,8 @@
<div class="ui four wide column">
{{template "shared/user/profile_big_avatar" .}}
</div>
<div class="ui twelve wide column">
<div class="tw-mb-4">
{{template "user/overview/header" .}}
</div>

<div class="ui twelve wide column tw-mb-4">
{{template "user/overview/header" .}}
{{if eq .TabName "activity"}}
{{if .ContextUser.KeepActivityPrivate}}
<div class="ui info message">
Expand Down

0 comments on commit 358b28c

Please sign in to comment.