SomMeri / less4j

Less language is an extension of css and less4j compiles it into regular css. Less adds several dynamic features into css: variables, expressions, nested rules, and so on. Less was designed to be compatible with css and any correct css file is also correct less file.
145 stars 47 forks source link

px is shown instead of em in some calcul. #360

Open SuperPat45 opened 7 years ago

SuperPat45 commented 7 years ago

Hi, In Telerik kendo UI core, you can see:

@calendar-cell-width: ((34px / 14px) * 1em);
.k-calendar
{
    width: (@calendar-cell-width * 7);
}

If you compile this with less4j, the result is:

.k-calendar
{
    width: 17px;
}

Instead of this if compiled with glup-less:

.k-calendar
{
    width: 17em;
}