Merge pull request #63 from anuraghazra/fix-rank-alignment

design: fixed rank alignment
This commit is contained in:
Anurag Hazra 2020-07-15 19:01:39 +05:30 committed by GitHub
commit 19bacf780a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"