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

calc function not being translated propertly #196

@alberchou

Description

@alberchou

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions