Skip to content

Commit

Permalink
Update StackOverflowCard.js
Browse files Browse the repository at this point in the history
  • Loading branch information
soroushchehresa committed Aug 5, 2020
1 parent f015857 commit d1e3791
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StackOverflowCard.js
Expand Up @@ -24,7 +24,7 @@ const StackOverflowCard = async (data, theme) => {
</text>
<text transform="translate(48 231)" stroke-linecap="square" stroke-linejoin="bevel" fill="${isDark ? '#F2F2F3' : '#0f0f0f'}"
font-family="ArialMT, Arial" font-size="16">
<tspan x="${-data.reputation.toString().length}" y="14">${data.reputation.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',')}</tspan>
<tspan x="${-data.reputation.toString().length * 2}" y="14">${data.reputation.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ',')}</tspan>
</text>
<text transform="translate(88 231)" stroke-linecap="square" stroke-linejoin="bevel" fill="#ACB2B8"
font-family="ArialMT, Arial" font-size="12">
Expand Down

0 comments on commit d1e3791

Please sign in to comment.