diff --git a/templates/repo/home.tmpl b/templates/repo/home.tmpl
index 394bab1e38..aaa1a1b974 100644
--- a/templates/repo/home.tmpl
+++ b/templates/repo/home.tmpl
@@ -29,9 +29,9 @@
{{end}}
-
- {{range .Topics}}
{{.Name}}{{end}}
- {{if and .Permission.IsAdmin (not .Repository.IsArchived)}}
{{end}}
+
+ {{range .Topics}}
{{.Name}}{{end}}
+ {{if and .Permission.IsAdmin (not .Repository.IsArchived)}}
{{end}}
{{end}}
{{if and .Permission.IsAdmin (not .Repository.IsArchived)}}
diff --git a/web_src/css/repo.css b/web_src/css/repo.css
index 3862436701..da5cd06b3e 100644
--- a/web_src/css/repo.css
+++ b/web_src/css/repo.css
@@ -231,6 +231,7 @@
display: flex;
justify-content: space-between;
align-items: center;
+ margin-bottom: 5px;
}
@media (max-width: 767.68px) {
@@ -2777,7 +2778,6 @@ tbody.commit-list {
#repo-topics .repo-topic {
font-weight: var(--font-weight-normal);
cursor: pointer;
- margin: 2px;
}
#new-dependency-drop-list.ui.selection.dropdown {