diff options
author | Xinyu Zhou <i@sourcehut.net> | 2022-11-24 12:01:30 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-23 22:01:30 -0600 |
commit | 09b7d8198c8df16691b2c6d4b9776b24723954e7 (patch) | |
tree | 422aa160521b22fa9832b5c4fb5d2354c3943303 | |
parent | 702f4b521e118482e5887664efe69035fff96ceb (diff) | |
download | gitea-09b7d8198c8df16691b2c6d4b9776b24723954e7.tar.gz gitea-09b7d8198c8df16691b2c6d4b9776b24723954e7.zip |
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>
-rw-r--r-- | templates/explore/repo_list.tmpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/explore/repo_list.tmpl b/templates/explore/repo_list.tmpl index 044af9522e..ad03ff800f 100644 --- a/templates/explore/repo_list.tmpl +++ b/templates/explore/repo_list.tmpl @@ -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> |