Skip to content

Commit d0688cb

Browse files
authored
Fix span svg layout (#34185)
1 parent aada037 commit d0688cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: templates/explore/repo_list.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@
3939
{{end}}
4040
{{if not $.DisableStars}}
4141
<a class="flex-text-inline" href="{{.Link}}/stars">
42-
<span aria-label="{{ctx.Locale.Tr "repo.stars"}}">{{svg "octicon-star" 16}}</span>
42+
<span class="tw-contents" aria-label="{{ctx.Locale.Tr "repo.stars"}}">{{svg "octicon-star" 16}}</span>
4343
<span {{if ge .NumStars 1000}}data-tooltip-content="{{.NumStars}}"{{end}}>{{CountFmt .NumStars}}</span>
4444
</a>
4545
{{end}}
4646
<a class="flex-text-inline" href="{{.Link}}/forks">
47-
<span aria-label="{{ctx.Locale.Tr "repo.forks"}}">{{svg "octicon-git-branch" 16}}</span>
47+
<span class="tw-contents" aria-label="{{ctx.Locale.Tr "repo.forks"}}">{{svg "octicon-git-branch" 16}}</span>
4848
<span {{if ge .NumForks 1000}}data-tooltip-content="{{.NumForks}}"{{end}}>{{CountFmt .NumForks}}</span>
4949
</a>
5050
</div>

0 commit comments

Comments
 (0)