mirror of
https://github.com/Aviortheking/codestats-readme.git
synced 2025-04-22 10:42:08 +00:00
design: fixed rank alignment
This commit is contained in:
parent
0bade9be77
commit
89bb8fea42
@ -118,7 +118,7 @@ const renderStatsCard = (stats = {}, options = { hide: [] }) => {
|
|||||||
<circle class="rank-circle-rim" cx="-10" cy="8" r="40" />
|
<circle class="rank-circle-rim" cx="-10" cy="8" r="40" />
|
||||||
<circle class="rank-circle" cx="-10" cy="8" r="40" />
|
<circle class="rank-circle" cx="-10" cy="8" r="40" />
|
||||||
<text
|
<text
|
||||||
x="0"
|
x="${rank.level.length === 1 ? "-4" : "0"}"
|
||||||
y="0"
|
y="0"
|
||||||
alignment-baseline="central"
|
alignment-baseline="central"
|
||||||
dominant-baseline="central"
|
dominant-baseline="central"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user