boxen
Advanced tools
Comparing version 1.2.1 to 1.2.2
@@ -118,3 +118,3 @@ 'use strict'; | ||
if (opts.float === 'center') { | ||
const padWidth = (columns - contentWidth) / 2; | ||
const padWidth = Math.max((columns - contentWidth) / 2, 0); | ||
marginLeft = PAD.repeat(padWidth); | ||
@@ -121,0 +121,0 @@ } else if (opts.float === 'right') { |
{ | ||
"name": "boxen", | ||
"version": "1.2.1", | ||
"version": "1.2.2", | ||
"description": "Create boxes in the terminal", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8560