Make SVG size argument optional (#12814)

Now defaults to 16 on both frontend and backend.

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
This commit is contained in:
silverwind 2020-09-11 22:19:00 +02:00 committed by GitHub
parent 26c4a049da
commit ffddf3f8a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
89 changed files with 458 additions and 455 deletions

View file

@ -65,7 +65,7 @@ function issuePopup(owner, repo, index, $element) {
html: `
<div>
<p><small>${issue.repository.full_name} on ${createdAt}</small></p>
<p><span class="${color}">${svg(octicon, 16)}</span> <strong>${issue.title}</strong> #${index}</p>
<p><span class="${color}">${svg(octicon)}</span> <strong>${issue.title}</strong> #${index}</p>
<p>${body}</p>
${labels}
</div>