mrcrowl / vscode-easy-less

Easy LESS extension for Visual Studio Code
MIT License
68 stars 23 forks source link

Version 1.7.1 no longer compiles mathematical operations #74

Closed cri-jon closed 3 years ago

cri-jon commented 3 years ago

I'm trying to use width: 100% / 3; and it no longer compiles correctly. The compiled css still says width: 100% / 3; Thanks for looking into this. Screen Shot 2021-01-29 at 9 14 28 AM

corporatereports commented 3 years ago

This is happening for me too.

mrcrowl commented 3 years ago

Ah, sorry. This should have been advertised as a breaking change in the release notes.

The less compiler changed the default math mode to parens-division in v4.x.

To restore the v3.x behaviour you will either need to:

See

mrcrowl commented 3 years ago

I've updated the changelog to reference this change in behaviour.