fix: text decorator on issue sidebar menu label (#27206) (#27209)

Backport #27206 by @metiftikci

fix underline for label on issue sidebar

Co-authored-by: metiftikci <metiftikci@hotmail.com>
This commit is contained in:
Giteabot 2023-09-23 20:47:40 +08:00 committed by GitHub
parent e9fcdf822c
commit b6dab855f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,5 +3,5 @@
id="label_{{.label.ID}}"
href="{{.root.RepoLink}}/{{if or .root.IsPull .root.Issue.IsPull}}pulls{{else}}issues{{end}}?labels={{.label.ID}}"{{/* FIXME: use .root.Issue.Link or create .root.Link */}}
>
{{RenderLabel $.Context .label}}
{{- RenderLabel $.Context .label -}}
</a>