From 363723fc84f7b8477592e0105aeb331ec9a017af Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 14 Aug 2017 05:01:11 +0200 Subject: node_modules --- node_modules/boxen/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'node_modules/boxen/index.js') diff --git a/node_modules/boxen/index.js b/node_modules/boxen/index.js index 2233e3d7b..0fe96a5a4 100644 --- a/node_modules/boxen/index.js +++ b/node_modules/boxen/index.js @@ -118,7 +118,7 @@ module.exports = (text, opts) => { const padWidth = (columns - contentWidth) / 2; marginLeft = PAD.repeat(padWidth); } else if (opts.float === 'right') { - const padWidth = Math.max(columns - contentWidth - 2, 0); + const padWidth = Math.max(columns - contentWidth - margin.right - 2, 0); marginLeft = PAD.repeat(padWidth); } -- cgit v1.2.3