Skip to content

Commit 09b7d81

Browse files
author
Xinyu Zhou
authored
Fix flex layout for repo list icons (#21896)
#20241 Added a tooltip, which does not satisfy the flex layout, and the icons are not aligned Signed-off-by: Xinyu Zhou <[email protected]>
1 parent 702f4b5 commit 09b7d81

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/explore/repo_list.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,9 @@
3232
{{end}}
3333
{{end}}
3434
{{if .IsFork}}
35-
<span class="tooltip" data-content="{{$.locale.Tr "repo.fork"}}" data-position="bottom center">{{svg "octicon-repo-forked"}}</span>
35+
<span class="tooltip df" data-content="{{$.locale.Tr "repo.fork"}}" data-position="bottom center">{{svg "octicon-repo-forked"}}</span>
3636
{{else if .IsMirror}}
37-
<span class="tooltip" data-content="{{$.locale.Tr "mirror"}}" data-position="bottom center">{{svg "octicon-mirror"}}</span>
37+
<span class="tooltip df" data-content="{{$.locale.Tr "mirror"}}" data-position="bottom center">{{svg "octicon-mirror"}}</span>
3838
{{end}}
3939
</div>
4040
</div>

0 commit comments

Comments
 (0)