Skip to content

Commit 1b36dce

Browse files
renbaoshuoSysoev, Vladimir
authored and
Sysoev, Vladimir
committed
Fix icon margin in user/settings/repos (go-gitea#20281)
1 parent ede4e3f commit 1b36dce

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: templates/user/settings/repos.tmpl

+5-5
Original file line numberDiff line numberDiff line change
@@ -109,15 +109,15 @@
109109
<div class="item">
110110
<div class="content">
111111
{{if .IsPrivate}}
112-
<span class="text gold iconFloat">{{svg "octicon-lock"}}</span>
112+
{{svg "octicon-lock" 16 "mr-2 iconFloat text gold"}}
113113
{{else if .IsFork}}
114-
<span class="iconFloat">{{svg "octicon-repo-forked"}}</span>
114+
{{svg "octicon-repo-forked" 16 "mr-2 iconFloat"}}
115115
{{else if .IsMirror}}
116-
<span class="iconFloat">{{svg "octicon-mirror"}}</span>
116+
{{svg "octicon-mirror" 16 "mr-2 iconFloat"}}
117117
{{else if .IsTemplate}}
118-
<span class="iconFloat">{{svg "octicon-repo-template"}}</span>
118+
{{svg "octicon-repo-template" 16 "mr-2 iconFloat"}}
119119
{{else}}
120-
<span class="iconFloat">{{svg "octicon-repo"}}</span>
120+
{{svg "octicon-repo" 16 "mr-2 iconFloat"}}
121121
{{end}}
122122
<a class="name" href="{{.Link}}">{{.OwnerName}}/{{.Name}}</a>
123123
<span>{{FileSize .Size}}</span>

0 commit comments

Comments
 (0)