Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: icon margin in user/settings/repos #20281

Merged
merged 13 commits into from
Jul 14, 2022
Merged
10 changes: 5 additions & 5 deletions templates/user/settings/repos.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@
<div class="item">
<div class="content">
{{if .IsPrivate}}
<span class="text gold iconFloat">{{svg "octicon-lock"}}</span>
<i class="ui icon text gold iconFloat">{{svg "octicon-lock"}}</i>
{{else if .IsFork}}
<span class="iconFloat">{{svg "octicon-repo-forked"}}</span>
<i class="ui icon iconFloat">{{svg "octicon-repo-forked"}}</i>
{{else if .IsMirror}}
<span class="iconFloat">{{svg "octicon-mirror"}}</span>
<i class="ui icon iconFloat">{{svg "octicon-mirror"}}</i>
{{else if .IsTemplate}}
<span class="iconFloat">{{svg "octicon-repo-template"}}</span>
<i class="ui icon iconFloat">{{svg "octicon-repo-template"}}</i>
{{else}}
<span class="iconFloat">{{svg "octicon-repo"}}</span>
<i class="ui icon iconFloat">{{svg "octicon-repo"}}</i>
renbaoshuo marked this conversation as resolved.
Show resolved Hide resolved
{{end}}
<a class="name" href="{{.Link}}">{{.OwnerName}}/{{.Name}}</a>
<span>{{FileSize .Size}}</span>
Expand Down