diff options
author | Baoshuo Ren <i@baoshuo.ren> | 2022-07-14 11:03:31 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-14 11:03:31 +0800 |
commit | 175705356cac06c22d13d86b31605a6ad6dd9642 (patch) | |
tree | d6cd91f658d11cc95ef208922bc0eac145f25cdd /templates/user | |
parent | 715042c5bb7485e8463a37ed87bec81ae10ad9aa (diff) | |
download | gitea-175705356cac06c22d13d86b31605a6ad6dd9642.tar.gz gitea-175705356cac06c22d13d86b31605a6ad6dd9642.zip |
Fix icon margin in user/settings/repos (#20281)
Diffstat (limited to 'templates/user')
-rw-r--r-- | templates/user/settings/repos.tmpl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/user/settings/repos.tmpl b/templates/user/settings/repos.tmpl index eba0d22d5e..aedff91de9 100644 --- a/templates/user/settings/repos.tmpl +++ b/templates/user/settings/repos.tmpl @@ -109,15 +109,15 @@ <div class="item"> <div class="content"> {{if .IsPrivate}} - <span class="text gold iconFloat">{{svg "octicon-lock"}}</span> + {{svg "octicon-lock" 16 "mr-2 iconFloat text gold"}} {{else if .IsFork}} - <span class="iconFloat">{{svg "octicon-repo-forked"}}</span> + {{svg "octicon-repo-forked" 16 "mr-2 iconFloat"}} {{else if .IsMirror}} - <span class="iconFloat">{{svg "octicon-mirror"}}</span> + {{svg "octicon-mirror" 16 "mr-2 iconFloat"}} {{else if .IsTemplate}} - <span class="iconFloat">{{svg "octicon-repo-template"}}</span> + {{svg "octicon-repo-template" 16 "mr-2 iconFloat"}} {{else}} - <span class="iconFloat">{{svg "octicon-repo"}}</span> + {{svg "octicon-repo" 16 "mr-2 iconFloat"}} {{end}} <a class="name" href="{{.Link}}">{{.OwnerName}}/{{.Name}}</a> <span>{{FileSize .Size}}</span> |