Fix icon margin in user/settings/repos (#20281)

This commit is contained in:
Baoshuo Ren 2022-07-14 11:03:31 +08:00 committed by GitHub
parent 715042c5bb
commit 175705356c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 5 deletions

View File

@ -109,15 +109,15 @@
<div class="item"> <div class="item">
<div class="content"> <div class="content">
{{if .IsPrivate}} {{if .IsPrivate}}
<span class="text gold iconFloat">{{svg "octicon-lock"}}</span> {{svg "octicon-lock" 16 "mr-2 iconFloat text gold"}}
{{else if .IsFork}} {{else if .IsFork}}
<span class="iconFloat">{{svg "octicon-repo-forked"}}</span> {{svg "octicon-repo-forked" 16 "mr-2 iconFloat"}}
{{else if .IsMirror}} {{else if .IsMirror}}
<span class="iconFloat">{{svg "octicon-mirror"}}</span> {{svg "octicon-mirror" 16 "mr-2 iconFloat"}}
{{else if .IsTemplate}} {{else if .IsTemplate}}
<span class="iconFloat">{{svg "octicon-repo-template"}}</span> {{svg "octicon-repo-template" 16 "mr-2 iconFloat"}}
{{else}} {{else}}
<span class="iconFloat">{{svg "octicon-repo"}}</span> {{svg "octicon-repo" 16 "mr-2 iconFloat"}}
{{end}} {{end}}
<a class="name" href="{{.Link}}">{{.OwnerName}}/{{.Name}}</a> <a class="name" href="{{.Link}}">{{.OwnerName}}/{{.Name}}</a>
<span>{{FileSize .Size}}</span> <span>{{FileSize .Size}}</span>