Skip to content

Commit f0b89d0

Browse files
authored
fix: label overlap (anuraghazra#274)
1 parent 56e3745 commit f0b89d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/renderStatsCard.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const createTextNode = ({
3434
<text class="stat bold" ${labelOffset} y="12.5">${label}:</text>
3535
<text
3636
class="stat"
37-
x="${shiftValuePos ? 170 : 150}"
37+
x="${shiftValuePos ? (showIcons ? 200 : 170) : 150}"
3838
y="12.5"
3939
data-testid="${id}"
4040
>${kValue}</text>

0 commit comments

Comments
 (0)