diff --git a/templates/repo/diff/compare.tmpl b/templates/repo/diff/compare.tmpl index 1ded53195e..3a8130df16 100644 --- a/templates/repo/diff/compare.tmpl +++ b/templates/repo/diff/compare.tmpl @@ -41,10 +41,10 @@
- {{svg "octicon-git-branch" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.branches"}} + {{svg "octicon-git-branch"}}{{ctx.Locale.Tr "repo.branches"}} - {{svg "octicon-tag" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.tags"}} + {{svg "octicon-tag"}}{{ctx.Locale.Tr "repo.tags"}}
- {{svg "octicon-git-branch" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.branches"}} + {{svg "octicon-git-branch"}}{{ctx.Locale.Tr "repo.branches"}} - {{svg "octicon-tag" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.tags"}} + {{svg "octicon-tag"}}{{ctx.Locale.Tr "repo.tags"}}
- {{svg "octicon-git-branch" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.branches"}} + {{svg "octicon-git-branch"}}{{ctx.Locale.Tr "repo.branches"}} - {{svg "octicon-tag" 16 "tw-mr-1"}}{{ctx.Locale.Tr "repo.tags"}} + {{svg "octicon-tag"}}{{ctx.Locale.Tr "repo.tags"}}
diff --git a/web_src/css/repo.css b/web_src/css/repo.css index b3e7efc76e..ccf580d5ec 100644 --- a/web_src/css/repo.css +++ b/web_src/css/repo.css @@ -1158,7 +1158,9 @@ td .commit-summary { } .branch-tag-item { - display: inline-block; + display: inline-flex; + align-items: center; + gap: 0.5rem; padding: 10px; border: 1px solid transparent; border-bottom: none; diff --git a/web_src/js/components/RepoBranchTagSelector.vue b/web_src/js/components/RepoBranchTagSelector.vue index ef9f5e89ce..cd86499ddc 100644 --- a/web_src/js/components/RepoBranchTagSelector.vue +++ b/web_src/js/components/RepoBranchTagSelector.vue @@ -265,10 +265,10 @@ export default sfc; // activate IDE's Vue plugin
- {{ textBranches }} + {{ textBranches }} - {{ textTags }} + {{ textTags }}