diff --git a/lib/index.js b/lib/index.js index eb1ad8e..34901df 100644 --- a/lib/index.js +++ b/lib/index.js @@ -4,8 +4,8 @@ const colorPresets = require('./color-presets.js') module.exports = function ({subject, status, color, style}) { color = colorPresets[color] || color || colorPresets['blue'] - const sbRectWidth = calcWidth(subject) + 11 - const stRectWidth = calcWidth(status) + 11 + const sbRectWidth = calcWidth(subject) + 10 + const stRectWidth = calcWidth(status) + 10 const width = sbRectWidth + stRectWidth if (style === 'flat') { @@ -16,8 +16,8 @@ module.exports = function ({subject, status, color, style}) { - ${subject} - ${subject} + ${subject} + ${subject} ${status} ${status} @@ -38,8 +38,8 @@ module.exports = function ({subject, status, color, style}) { - ${subject} - ${subject} + ${subject} + ${subject} ${status} ${status}