Skip to content

missing units after compilation  #3144

Closed
@parulmahajan1992

Description

@parulmahajan1992
@var1: 2em;
@var2: 1/2em;

#myClass{
width: @var1*@var2 ;
}

Output for this is:

#myClass {width: 1em};

But if we interchange the variables as:

#myClass{
width: @var2*@var1;
}

Output for this is:

#myClass {width: 1};

em is missing. :(

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