kopia lustrzana https://github.com/badgen/badgen
Adjust badge rect
rodzic
9258822c38
commit
b098210f12
|
@ -8,8 +8,8 @@ module.exports = function ({subject, status, color}) {
|
|||
const sbRectWidth = sbTextWidth + 10
|
||||
|
||||
const stTextWidth = calcWidth(status)
|
||||
const stRectWidth = stTextWidth + 13
|
||||
const stTextStart = sbTextWidth + 16
|
||||
const stRectWidth = stTextWidth + 11
|
||||
const stTextStart = sbRectWidth + 5
|
||||
|
||||
const width = sbRectWidth + stRectWidth
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue