Permalink
Browse files

fix #253

  • Loading branch information...
1 parent caa75ff commit e026b2c148bcc28007694eb1935e21fcffb092fa @morishitter committed Jan 11, 2017
View
@@ -16,7 +16,7 @@ function formatZeros (value, stylelint) {
}
if (getProperty(stylelint, 'number-no-trailing-zeros') === true) {
- value = value.replace(/(\d+)(\.[0-9]*[1-9]+)(0+)/g, '$1$2')
+ value = value.replace(/(\d+)(\.\d+)(0+)$/g, '$1$2')
value = value.replace(/(\d+)(\.0+)(?=\D|$)/g, '$1')
}
@@ -4,4 +4,5 @@ p {
top: 1.0px;
line-height: 1.0;
letter-spacing: 1.08;
+ width: 32.207%;
}
@@ -4,4 +4,5 @@ p {
top: 1px;
line-height: 1;
letter-spacing: 1.08;
+ width: 32.207%;
}

0 comments on commit e026b2c

Please sign in to comment.