1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 11:31:46 +00:00

fix: Adjust contributor name display height, refactor SVG clip path IDs, and correct README image source path.

This commit is contained in:
Tw93
2026-01-05 11:50:39 +08:00
parent 81f33eccb8
commit c13a2db75e
2 changed files with 5 additions and 5 deletions

View File

@@ -32,17 +32,17 @@ jobs:
svgWidth: 1000
avatarSize: 72
avatarMargin: 39
userNameHeight: 0
userNameHeight: 20
noCommit: true
includeBots: false
excludeUsers: "github-actions web-flow dependabot claude"
itemTemplate: |
<g transform="translate({{ x }}, {{ y }})">
<a xlink:href="{{{ url }}}" class="contributor-link" target="_blank" rel="nofollow sponsored" title="{{{ name }}}" id="{{{ name }}}">
<clipPath id="circleView-{{ name }}">
<a xlink:href="{{{ url }}}" class="contributor-link" target="_blank" rel="nofollow sponsored" title="{{{ name }}}">
<clipPath id="cp-{{ name }}">
<circle cx="36" cy="36" r="36" />
</clipPath>
<image width="72" height="72" xlink:href="{{{ avatar }}}" clip-path="url(#circleView-{{ name }})" />
<image width="72" height="72" xlink:href="{{{ avatar }}}" clip-path="url(#cp-{{ name }})" />
<text x="36" y="86" text-anchor="middle" alignment-baseline="middle" font-size="10" fill="#666" font-family="-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif">{{{ name }}}</text>
</a>
</g>