diff --git a/templates/repo/release/new.tmpl b/templates/repo/release/new.tmpl
index e1881b1d94..b653fc0c2c 100644
--- a/templates/repo/release/new.tmpl
+++ b/templates/repo/release/new.tmpl
@@ -108,7 +108,7 @@
{{ctx.Locale.Tr "repo.release.hide_archive_links_helper"}}
{{end}}
-
{{else if $canReadCode}}
diff --git a/web_src/css/repo.css b/web_src/css/repo.css
index e4f8cce8b4..e90e0ec4fe 100644
--- a/web_src/css/repo.css
+++ b/web_src/css/repo.css
@@ -601,7 +601,8 @@ td .commit-summary {
align-items: center;
}
-.repository.view.issue .button-row {
+.repository.view.issue .button-row,
+.repository.releases .button-row {
display: flex;
}