design: fixed rank alignment

This commit is contained in:
anuraghazra 2020-07-15 18:59:38 +05:30
parent 0bade9be77
commit 89bb8fea42

View File

@ -118,7 +118,7 @@ const renderStatsCard = (stats = {}, options = { hide: [] }) => {
<circle class="rank-circle-rim" cx="-10" cy="8" r="40" />
<circle class="rank-circle" cx="-10" cy="8" r="40" />
<text
x="0"
x="${rank.level.length === 1 ? "-4" : "0"}"
y="0"
alignment-baseline="central"
dominant-baseline="central"