postcss-content-width-unit
Advanced tools
Comparing version 1.0.0-4 to 1.0.0-5
@@ -46,3 +46,5 @@ var endsWith = require('./endsWith'); | ||
var transformableValues = values.filter(function (v) { | ||
return endsWithUnit(v.value); | ||
const isOwn = rule.selector === decl.parent.selector; | ||
const isEndingWithUnit = endsWithUnit(v.value); | ||
return isOwn && isEndingWithUnit; | ||
}); | ||
@@ -49,0 +51,0 @@ |
{ | ||
"name": "postcss-content-width-unit", | ||
"version": "1.0.0-4", | ||
"version": "1.0.0-5", | ||
"description": "PostCSS plugin which adds limit to vw unit", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
200433
605