Skip to content
This repository has been archived by the owner on Oct 16, 2019. It is now read-only.

calc function not being translated propertly #196

Open
alberchou opened this issue Apr 26, 2018 · 0 comments
Open

calc function not being translated propertly #196

alberchou opened this issue Apr 26, 2018 · 0 comments

Comments

@alberchou
Copy link

Good morning,

I have a less file with the following class style:

.whatever {
    width: -webkit-calc(100% - 210px);
    width: -moz-calc(100% - 210px);
    width: calc(100% - 210px); 
}

But when it is crunched to a css file, crunch does not translate it propertly:

.whatever  {
  width: -webkit-calc(-110%);
  width: -moz-calc(-110%);
  width: calc(-110%);
}

The expected style was:

.whatever {
    width: -webkit-calc(100% - 210px);
    width: -moz-calc(100% - 210px);
    width: calc(100% - 210px); 
}

May you please fix this? Thanks a lot!

Have a nice day,
Alberchou.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant