madskristensen / WebEssentials2012

http://vswebessentials.com
Other
95 stars 46 forks source link

Error in less formula #93

Open LttleSwill opened 8 years ago

LttleSwill commented 8 years ago

I have the following in my less - width: calc(50% - 40px);

but this gets generated as - width: calc(10%);

I suspect it doesn't respect the different units. The former seems to be valid css to me.

NDaskalov commented 4 years ago

That is not an issue! just use width: calc(~'(50% - 40px)');