create-stylesheet
Advanced tools
Comparing version 0.1.0 to 0.2.0
@@ -24,3 +24,3 @@ module.exports = function createStyleSheet(blocks) { | ||
function processDeclaration(prop, value) { | ||
if (!isNaN(value)) { | ||
if (!isNaN(value) && value != 0) { | ||
value = value + 'px'; | ||
@@ -27,0 +27,0 @@ } |
{ | ||
"name": "create-stylesheet", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"description": "Dynamically create a stylesheet", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
2258