Open CedricReichenbach opened 7 years ago
I'm having the same problem, this behaviour isn't sensible.
Can confirm this.
This
.logo {
margin-left: calc(((100vw - 104px) / 2) - 40px);
}
results in this broken CSS snippet within the compiled CSS
.logo {
margin-left: calc(100vw - 104px/ 2- 40px);
}
Please fix this behavior since it is really misleading when working with SASS.
Brackets within
calc()
statements in CSS should not be touched by the compiler, but are currently removed.Example source code:
Expected output:
Actual output:
This is especially painful because it leads to subtle, hard to detect errors in layouts.