kopia lustrzana https://github.com/badgen/badgen
Refine text position
rodzic
dc7f562a1c
commit
7e07e75ee0
|
@ -23,8 +23,8 @@ module.exports = function ({subject, status, color}) {
|
|||
<g fill="#fff" text-anchor="start" font-family="Verdana,DejaVu Sans,sans-serif" font-size="11">
|
||||
<text x="7" y="14.8" fill="#000" opacity="0.25">${subject}</text>
|
||||
<text x="6" y="13.8">${subject}</text>
|
||||
<text x="${sbRectWidth + 6}" y="14.8" fill="#000" opacity="0.25">${status}</text>
|
||||
<text x="${sbRectWidth + 5}" y="13.8">${status}</text>
|
||||
<text x="${sbRectWidth + 5.5}" y="14.8" fill="#000" opacity="0.25">${status}</text>
|
||||
<text x="${sbRectWidth + 4.5}" y="13.8">${status}</text>
|
||||
</g>
|
||||
</svg>
|
||||
`
|
||||
|
|
Ładowanie…
Reference in New Issue