Fix dropdown icon position (#27175) (#27177)

Backport #27175 by @wxiaoguang

According to https://fomantic-ui.com/modules/dropdown.html and our
"devtest" page, many dropdown elements has incorrect "icon" position.

This PR fixes all of them. Fix #27173

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
This commit is contained in:
Giteabot
2023-09-22 00:24:07 +08:00
committed by GitHub
parent 8d9e2d07f3
commit 2e49a4da48
16 changed files with 33 additions and 35 deletions

View File

@@ -7,9 +7,7 @@
<div class="gt-df gt-ac">
{{template "repo/branch_dropdown" dict "root" . "ContainerClasses" "gt-mr-2"}}
<a href="{{.RepoLink}}/graph" class="ui basic small compact button">
<span class="text">
{{svg "octicon-git-branch"}}
</span>
{{svg "octicon-git-branch"}}
{{.locale.Tr "repo.commit_graph"}}
</a>
</div>