Space removed in calc()
-
I’m having a problem with BWP Minify 1.3.3 over-minimizing my CSS. Here is the original:
#top .sem-wide-white-background { background-color: #ffffff; left: -30px; padding-left: 30px; padding-right: 30px; width: calc(100% + 60px); }
The problem is that the minified result includes this:
width: calc(100%+60px);
The lack of whitespace around the plus in the calc causes the page to render incorrectly.
I was able to work around the issue by not minifying that entire CSS file. But that feels like a sledgehammer to whack this one small issue.
Is there a better solution? Is there a way to log this bug?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Space removed in calc()’ is closed to new replies.