Comparing version 0.0.3 to 0.0.4
@@ -109,3 +109,3 @@ /* eslint-disable */ | ||
// Set Sheet | ||
sheet += '<style>' + (this.options.noPrint ? this.options.noPrint : '.no-print') + '{display:none;}</style>'; | ||
sheet += '<style>' + (this.options.noPrint ? this.options.noPrint : '.no-print') + '{display:none;}' + (this.options.css || '') + '</style>'; | ||
@@ -237,3 +237,3 @@ // Exports | ||
// Add Style Modifier | ||
doc.write(`${content}<style>.print{transform: scale(2) !important;margin-top:250px;}@page {margin-top: 1mm;margin-bottom: 1mm;}</style>`); | ||
doc.write(`${content}<style>.print{transform: scale(2) !important;margin-top:250px;}@page {margin-top: 1mm; margin-bottom: 1mm;}</style>`); | ||
@@ -240,0 +240,0 @@ // Close ? |
{ | ||
"name": "a-print", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "author": "joenix <joenix.com@gmail.com>", |
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
7749