Closed kezzbracey closed 9 years ago
Hey Jonathan,
I'm having trouble at the moment using postcss-short as it seems to strip "auto" from values.
Using node v0.12.7 and PostCSS 4.1.16
I tried a short test directly via Node to try and rule out conflicts:
css = ".test { margin: 0 auto; }" postcss(require('postcss-short')).process(css).then(function (result) { result.warnings().forEach(function (warn) { console.warn(warn.toString()); }); console.log(result.css) });
This outputs:
.test { margin: 0; }
Has anyone else experienced this?
Thanks!
This appears to be working in the latest version just fine. [demo]
Hey Jonathan,
I'm having trouble at the moment using postcss-short as it seems to strip "auto" from values.
Using node v0.12.7 and PostCSS 4.1.16
I tried a short test directly via Node to try and rule out conflicts:
This outputs:
Has anyone else experienced this?
Thanks!