diff --git a/templates/repo/diff/compare.tmpl b/templates/repo/diff/compare.tmpl
index 0e8a598a651f6..0b33533185efd 100644
--- a/templates/repo/diff/compare.tmpl
+++ b/templates/repo/diff/compare.tmpl
@@ -36,7 +36,7 @@
{{- end -}}
{{- end -}}
- {{.CompareSeparator}}
+ {{svg "octicon-arrow-left" 16}}{{.CompareSeparator}}
{{if $.PageIsComparePull}}{{ctx.Locale.Tr "repo.pulls.compare_compare"}}{{else}}{{ctx.Locale.Tr "repo.compare.compare_head"}}{{end}}: {{$HeadCompareName}}:{{$.HeadBranch}}
diff --git a/web_src/css/helpers.css b/web_src/css/helpers.css
index 27b32139bae3b..3a64fd06bc588 100644
--- a/web_src/css/helpers.css
+++ b/web_src/css/helpers.css
@@ -158,6 +158,12 @@ Gitea's private styles use `g-` prefix.
.gt-mt-4 { margin-top: 1rem !important; }
.gt-mt-5 { margin-top: 2rem !important; }
+.-gt-mt-1 { margin-top: -.125rem !important; }
+.-gt-mt-2 { margin-top: -.25rem !important; }
+.-gt-mt-3 { margin-top: -.5rem !important; }
+.-gt-mt-4 { margin-top: -1rem !important; }
+.-gt-mt-5 { margin-top: -2rem !important; }
+
.gt-mb-0 { margin-bottom: 0 !important; }
.gt-mb-1 { margin-bottom: .125rem !important; }
.gt-mb-2 { margin-bottom: .25rem !important; }
diff --git a/web_src/css/repo.css b/web_src/css/repo.css
index e37788505e673..4b5a478cb6865 100644
--- a/web_src/css/repo.css
+++ b/web_src/css/repo.css
@@ -1166,10 +1166,6 @@
flex-wrap: wrap;
}
-.repository .choose.branch .svg {
- margin-right: 10px;
-}
-
.repository.compare.pull .comment.form .content::before,
.repository.compare.pull .comment.form .content::after {
right: 100%;