mirror of
https://github.com/System-End/github-readme-stats.git
synced 2026-04-20 00:35:23 +00:00
fix(style): centering rank text in the circle (#1628)
This commit is contained in:
parent
6b61625881
commit
d7d0ba5fbd
1 changed files with 2 additions and 2 deletions
|
|
@ -184,8 +184,8 @@ const renderStatsCard = (stats = {}, options = { hide: [] }) => {
|
|||
<circle class="rank-circle" cx="-10" cy="8" r="40" />
|
||||
<g class="rank-text">
|
||||
<text
|
||||
x="${rank.level.length === 1 ? "-4" : "0"}"
|
||||
y="0"
|
||||
x="-5"
|
||||
y="3"
|
||||
alignment-baseline="central"
|
||||
dominant-baseline="central"
|
||||
text-anchor="middle"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue