Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
serggusak opened this issue Dec 16, 2022 · 0 comments
Labels

Comments

@serggusak
Copy link

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.

@serggusak serggusak added the bug label Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant