We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
To test, minify:
ul.pagination { display: block; min-height: 1.5rem; margin-left: -0.3125rem; }
Results in:
ul.pagination{display:block;min-height:1.5rem;margin-left:0.3125rem}
Seems the shortenZeros regex is being a little greedy and doesn't care for decimals. Temporary fix for me is changing all of "0." to just ".".
/(?<![0-9])-?0(%|px|em)?/i => matches -0.3125rem
The text was updated successfully, but these errors were encountered:
Thanks for the report! f5d1bd2 will fix that & I'll publish a new release in a minute!
Sorry, something went wrong.
No branches or pull requests
To test, minify:
ul.pagination {
display: block;
min-height: 1.5rem;
margin-left: -0.3125rem;
}
Results in:
ul.pagination{display:block;min-height:1.5rem;margin-left:0.3125rem}
Seems the shortenZeros regex is being a little greedy and doesn't care for decimals. Temporary fix for me is changing all of "0." to just ".".
/(?<![0-9])-?0(%|px|em)?/i => matches -0.3125rem
The text was updated successfully, but these errors were encountered: