You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.
This is related to less/less.js/issues/2462.
General workaround is to use ~'1-foo' instead of just 1-foo. The problem is that values like this are ambiguous in context of CSS (variables are primarily mean to store CSS property values, not an arbitrary data) - and in that context such value is neither valid identifier nor valid number nor complete arithmetic expression. (So currently 1-foo is interpreted as two independent values: 1 number followed by -foo identifier, hence the whitespace in the output).
Hey there, i found an issue with the extract function
the underscore is replaced with a white space when it is after a number
.alert-variation(@NAMEs; @Index) when (@Index > 0) {
}
@NAMEs : 1_test, 2_test, 3_test, 1-test, test-2;
@Length : length(@NAMEs );
.alert-variation(@NAMEs; @Length);
.alert-1 _test {
border-color: #fff;
color: #fff;
background-color: #fff;
}
.alert-2 _test {
border-color: #fff;
color: #fff;
background-color: #fff;
}
.alert-3 _test {
border-color: #fff;
color: #fff;
background-color: #fff;
}
.alert-1 test {
border-color: #fff;
color: #fff;
background-color: #fff;
}
.alert-test-2 {
border-color: #fff;
color: #fff;
background-color: #fff;
}
The text was updated successfully, but these errors were encountered: