fix commit sign badge style

This commit is contained in:
lutinglt
2025-11-29 21:12:38 +08:00
parent e2838df051
commit 2a95d85fb6
3 changed files with 30 additions and 30 deletions

View File

@@ -56,7 +56,7 @@ so this template should be kept as small as possible, DO NOT put large component
{{- end -}}
{{- if $commit -}}
<a {{if $commitBaseLink}}href="{{$commitBaseLink}}/{{$commit.ID}}"{{end}} class="ui label commit-id-short {{$extraClass}}" rel="nofollow">
<a {{if $commitBaseLink}}href="{{$commitBaseLink}}/{{$commit.ID}}"{{end}} class="ui label commit-id-short {{$extraClass}} github-theme-commit-sha" rel="nofollow">
{{- end -}}
{{- if or (not $commit) $extraClass}}{{/* only show the lock icon if there is no commit info (icon only) or the commit is really signed */}}
<span class="ui label commit-sign-badge {{$extraClass}}">