madskristensen / WebCompiler

Visual Studio extension for compiling LESS and Sass files
Other
451 stars 173 forks source link

Minifier replaces border: none 1px #c5c5c5; with border:0 1px #c5c5c5; which does not work in Chrome #493

Open serggusak opened 1 year ago

serggusak commented 1 year ago

Describe the bug Minifier replaces border: none 1px #c5c5c5; with border:0 1px #c5c5c5; which does not work in Chrome

To Reproduce Steps to reproduce the behavior:

  1. Create a less file with a class that has border: none 1px #c5c5c5;
  2. Compile
  3. Observe it being translated to border:0 1px #c5c5c5;
  4. To see it in chrome, apply the class to an element and inspect the element (see attachment)

Expected behavior expect border:none 1px #c5c5c5;

Screenshots image If you hover over the yellow triangle, the tooltip is "Invalid property value".

Additional context The whole rule does not get applied, which breaks the layout. So the problem is not just the error icon.