Browse Source

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 <i@sourcehut.net>
tags/v1.19.0-rc0
Xinyu Zhou 1 year ago
parent
commit
09b7d8198c
No account linked to committer's email address
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      templates/explore/repo_list.tmpl

+ 2
- 2
templates/explore/repo_list.tmpl View File

@@ -32,9 +32,9 @@
{{end}}
{{end}}
{{if .IsFork}}
<span class="tooltip" data-content="{{$.locale.Tr "repo.fork"}}" data-position="bottom center">{{svg "octicon-repo-forked"}}</span>
<span class="tooltip df" data-content="{{$.locale.Tr "repo.fork"}}" data-position="bottom center">{{svg "octicon-repo-forked"}}</span>
{{else if .IsMirror}}
<span class="tooltip" data-content="{{$.locale.Tr "mirror"}}" data-position="bottom center">{{svg "octicon-mirror"}}</span>
<span class="tooltip df" data-content="{{$.locale.Tr "mirror"}}" data-position="bottom center">{{svg "octicon-mirror"}}</span>
{{end}}
</div>
</div>

Loading…
Cancel
Save