mirror of
https://github.com/tw93/Mole.git
synced 2026-02-16 06:01:12 +00:00
chore: Adjust contributors SVG layout parameters including width, avatar size/margin, and text positioning.
This commit is contained in:
7
.github/workflows/update-contributors.yml
vendored
7
.github/workflows/update-contributors.yml
vendored
@@ -29,8 +29,9 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
svgPath: CONTRIBUTORS.svg
|
svgPath: CONTRIBUTORS.svg
|
||||||
svgWidth: 1280
|
svgWidth: 1000
|
||||||
avatarMargin: 12
|
avatarSize: 72
|
||||||
|
avatarMargin: 28
|
||||||
userNameHeight: 20
|
userNameHeight: 20
|
||||||
noCommit: true
|
noCommit: true
|
||||||
includeBots: false
|
includeBots: false
|
||||||
@@ -39,7 +40,7 @@ jobs:
|
|||||||
<g transform="translate({{ x }}, {{ y }})">
|
<g transform="translate({{ x }}, {{ y }})">
|
||||||
<a xlink:href="{{{ url }}}" class="contributor-link" target="_blank" rel="nofollow sponsored" title="{{{ name }}}" id="{{{ name }}}">
|
<a xlink:href="{{{ url }}}" class="contributor-link" target="_blank" rel="nofollow sponsored" title="{{{ name }}}" id="{{{ name }}}">
|
||||||
<image width="{{ width }}" height="{{ height }}" xlink:href="{{{ avatar }}}" />
|
<image width="{{ width }}" height="{{ height }}" xlink:href="{{{ avatar }}}" />
|
||||||
<text x="32" y="74" text-anchor="middle" alignment-baseline="middle" font-size="10">{{{ name }}}</text>
|
<text x="36" y="86" text-anchor="middle" alignment-baseline="middle" font-size="10">{{{ name }}}</text>
|
||||||
</a>
|
</a>
|
||||||
</g>
|
</g>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user