fix(style): centering rank text in the circle (#1628)

This commit is contained in:
Shunsuke Mano authored and GitHub committed 2022-03-13 02:38:00 +05:30
1 parent 6b61625881
commit d7d0ba5fbd
1 file changed
+2 -2
+2 -2
View File
@@ -184,8 +184,8 @@ const renderStatsCard = (stats = {}, options = { hide: [] }) => {
<circle class="rank-circle" cx="-10" cy="8" r="40" /> <circle class="rank-circle" cx="-10" cy="8" r="40" />
<g class="rank-text"> <g class="rank-text">
<text <text
x="${rank.level.length === 1 ? "-4" : "0"}" x="-5"
y="0" y="3"
alignment-baseline="central" alignment-baseline="central"
dominant-baseline="central" dominant-baseline="central"
text-anchor="middle" text-anchor="middle"