aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHEREYUA <37935145+HEREYUA@users.noreply.github.com>2024-03-27 20:48:09 +0800
committerGitHub <noreply@github.com>2024-03-27 12:48:09 +0000
commit0262c66ba6c1d7488456269b2e56220bf6cf0b6f (patch)
tree057064f8ff747f4ae3833863ae1778449654592c
parent0922ce8191ae83834b89b59c5c504209a8a0558e (diff)
downloadgitea-0262c66ba6c1d7488456269b2e56220bf6cf0b6f.tar.gz
gitea-0262c66ba6c1d7488456269b2e56220bf6cf0b6f.zip
Fix: Organization Interface Display Issue (#30133)
**Before** ![image](https://github.com/go-gitea/gitea/assets/37935145/88d04a4b-6dc5-4399-9813-2c339eae3722) **After** ![image](https://github.com/go-gitea/gitea/assets/37935145/e97a64b8-ea24-4de7-992d-5928888872d0)
-rw-r--r--templates/org/home.tmpl2
-rw-r--r--templates/org/menu.tmpl2
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/org/home.tmpl b/templates/org/home.tmpl
index 1277665804..4851b69979 100644
--- a/templates/org/home.tmpl
+++ b/templates/org/home.tmpl
@@ -16,7 +16,7 @@
{{if .ShowMemberAndTeamTab}}
<div class="ui five wide column">
{{if .CanCreateOrgRepo}}
- <div class="center aligned">
+ <div class="center aligned tw-mb-4">
<a class="ui primary button" href="{{AppSubUrl}}/repo/create?org={{.Org.ID}}">{{ctx.Locale.Tr "new_repo"}}</a>
{{if not .DisableNewPullMirrors}}
<a class="ui primary button" href="{{AppSubUrl}}/repo/migrate?org={{.Org.ID}}&mirror=1">{{ctx.Locale.Tr "new_migrate"}}</a>
diff --git a/templates/org/menu.tmpl b/templates/org/menu.tmpl
index 8eacc17e82..c519606d1f 100644
--- a/templates/org/menu.tmpl
+++ b/templates/org/menu.tmpl
@@ -1,5 +1,5 @@
<div class="ui container">
- <overflow-menu class="ui secondary pointing tabular borderless menu">
+ <overflow-menu class="ui secondary pointing tabular borderless menu tw-mb-4">
<div class="overflow-menu-items">
<a class="{{if .PageIsViewRepositories}}active {{end}}item" href="{{$.Org.HomeLink}}">
{{svg "octicon-repo"}} {{ctx.Locale.Tr "user.repositories"}}